diff options
| author | bors <bors@rust-lang.org> | 2021-08-09 03:59:30 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-08-09 03:59:30 +0000 |
| commit | 7b52ad00cb492f65855014b2aab9f2abe9be3324 (patch) | |
| tree | 419c7b35a8898f80f4a3ae488f72fb9983f66970 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs | |
| parent | d3928b183db1023c023f8afb4f5dfbee34994051 (diff) | |
| parent | d935a14f4c766bf3014ad5ab0c55ad087c799adb (diff) | |
| download | rust-7b52ad00cb492f65855014b2aab9f2abe9be3324.tar.gz rust-7b52ad00cb492f65855014b2aab9f2abe9be3324.zip | |
Auto merge of #87619 - 12101111:fix-native_link_modifiers_bundle, r=petrochenkov
Fix feature gate checking of static-nobundle and native_link_modifiers Feature native_link_modifiers_bundle don't need feature static-nobundle to work. Also check the feature gates when using native_link_modifiers from command line options. Current nighly compiler don't check those feature gate. ``` > touch lib.rs > rustc +nightly lib.rs -L /usr/lib -l static:+bundle=dl --crate-type=rlib > rustc +nightly lib.rs -L /usr/lib -l dylib:+as-needed=dl --crate-type=dylib -Ctarget-feature=-crt-static > rustc +nightly lib.rs -L /usr/lib -l static:-bundle=dl --crate-type=rlib error[E0658]: kind="static-nobundle" is unstable | = note: see issue #37403 <https://github.com/rust-lang/rust/issues/37403> for more information = help: add `#![feature(static_nobundle)]` to the crate attributes to enable error: aborting due to previous error For more information about this error, try `rustc --explain E0658`. ``` First found this in https://github.com/rust-lang/rust/pull/85600#discussion_r676612655
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs')
0 files changed, 0 insertions, 0 deletions
