diff options
author | bors <bors@rust-lang.org> | 2022-03-18 14:57:15 +0000 |
---|---|---|
committer | bors <bors@rust-lang.org> | 2022-03-18 14:57:15 +0000 |
commit | 3beb97c01c0880f8aca73deccb6e172d77b5af77 (patch) | |
tree | f2ea7aca541599c09c70d65cac561775f20fbb5b | |
parent | f0f4b689906862bf74297042022c20ada7274b71 (diff) | |
parent | 5d69358d6f6e8a0ff67c491a7cb7581895e342f3 (diff) | |
download | rust-libc-3beb97c01c0880f8aca73deccb6e172d77b5af77.tar.gz |
Auto merge of #2728 - redox-os:redox-stable, r=Amanieu
redox: fix compilation on stable
These features are no longer required by default on Redox
-rw-r--r-- | src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs index 630ee7a0ef..3a4dcee706 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -25,7 +25,7 @@ #![cfg_attr(not(feature = "rustc-dep-of-std"), no_std)] #![cfg_attr(feature = "rustc-dep-of-std", no_core)] #![cfg_attr( - any(feature = "rustc-dep-of-std", target_os = "redox"), + feature = "rustc-dep-of-std", feature(static_nobundle, native_link_modifiers, native_link_modifiers_bundle) )] #![cfg_attr(libc_const_extern_fn, feature(const_extern_fn))] |