diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2025-02-04 06:13:58 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-04 06:13:58 +0100 |
| commit | 67e52b9f92e4515888f4b1729f815eef75ed56f1 (patch) | |
| tree | da492342b0a51e3c1d920c3e6f5de51813044cc2 /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | e4eedb548824c0c813df4bb879b0b16c38bc39b1 (diff) | |
| parent | 88260f4ba4b0b9f86094bd1b2495c027bf959dbe (diff) | |
| download | rust-67e52b9f92e4515888f4b1729f815eef75ed56f1.tar.gz rust-67e52b9f92e4515888f4b1729f815eef75ed56f1.zip | |
Rollup merge of #135836 - ferrocene:ja-gh135782-build-crt-only-for-musl, r=onur-ozkan
bootstrap: only build `crt{begin,end}.o` when compiling to MUSL
only MUSL needs those objects and trying to compile them to other targets, e.g. Windows or macOS, will produce C compilation errors
check the target before shelling out to the C compiler and tweak `make_run` to skip the actual C compilation when the target is not MUSL
fixes #135782
see the linked issue for additional context
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
