diff options
| author | Samuel Tardieu <sam@rfc1149.net> | 2025-08-26 23:25:03 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-26 23:25:03 +0200 |
| commit | 5ba3bfc49a946465dd442168d5d7b4260fedc8cd (patch) | |
| tree | e4dfca5436c678f5bbf42e6c17729caf824c37e8 /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | ac7f423d52c8f0a5c692e9c44cb40075c9ac8f68 (diff) | |
| parent | 5cf9c130f3ab930d71c47a9e42099322a95badd5 (diff) | |
| download | rust-5ba3bfc49a946465dd442168d5d7b4260fedc8cd.tar.gz rust-5ba3bfc49a946465dd442168d5d7b4260fedc8cd.zip | |
Rollup merge of #145876 - Kobzol:dist-std-build, r=jieyouxu
Enable building/disting standard library in stage 0 After the stage0 redesign, building a stage0 library no longer is a thing, because the stage0 compiler normally cannot build libstd anymore. However, there are valid use-cases for having the ability to quickly cross-compile libstd for different targets, when the stage0 compiler is e.g. a stable released version, and you want to cross-compile libstd from the same sources of that compiler. This PR allows that, as long as you set `build.local-rebuild = true`, which promises bootstrap that the stage0 compiler actually comes from in-tree sources, and can thus compile libstd. The change needed to enable this is very minimal, so I think that it is worth it to allow this use-case to work. Fixes: https://github.com/rust-lang/rust/issues/145587 Fixes: https://github.com/rust-lang/rust/issues/145859 Related issue: https://github.com/rust-lang/rust/issues/94781 r? `@jieyouxu`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
