diff options
| author | Samuel Holland <samuel@sholland.org> | 2017-09-02 18:15:57 -0500 |
|---|---|---|
| committer | Samuel Holland <samuel@sholland.org> | 2017-09-18 22:31:57 -0500 |
| commit | 779041cd5a27c7b775c9ed45948a1343a3f25f04 (patch) | |
| tree | 668811806b75912feedcfff697085979f7906d16 /src/test/incremental/thinlto | |
| parent | 0701b37d97d08da7074ece7a7dcb4449498f4bfa (diff) | |
| download | rust-779041cd5a27c7b775c9ed45948a1343a3f25f04.tar.gz rust-779041cd5a27c7b775c9ed45948a1343a3f25f04.zip | |
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/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions
