diff options
| author | bors <bors@rust-lang.org> | 2017-09-25 20:37:02 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2017-09-25 20:37:02 +0000 |
| commit | 6c476ce462333fccd89ce3ed8c290998db874653 (patch) | |
| tree | b038e489f1b2bbaa639778c0061506fbe96826ad /src/rustllvm/RustWrapper.cpp | |
| parent | 3df1f7b82d9bede5122ee745cdd4e731abbce892 (diff) | |
| parent | 314c2b14479a98acf9155dce43348e77073a09a1 (diff) | |
| download | rust-6c476ce462333fccd89ce3ed8c290998db874653.tar.gz rust-6c476ce462333fccd89ce3ed8c290998db874653.zip | |
Auto merge of #44279 - smaeul:crt_static-deps, r=alexcrichton
Require rlibs for dependent crates when linking static executables This handles the case for `CrateTypeExecutable` and `+crt_static`. I reworked the match block to avoid duplicating the `attempt_static` and error checking code again (this case would have been a copy of the `CrateTypeCdylib`/`CrateTypeStaticlib` case). On `linux-musl` targets where `std` was built with `crt_static = false` in `config.toml`, this change brings the test suite from entirely failing to mostly passing. This change should not affect behavior for other crate types, or for targets which do not respect `+crt_static`.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
