summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-03-18 14:57:15 +0000
committerbors <bors@rust-lang.org>2022-03-18 14:57:15 +0000
commit3beb97c01c0880f8aca73deccb6e172d77b5af77 (patch)
treef2ea7aca541599c09c70d65cac561775f20fbb5b
parentf0f4b689906862bf74297042022c20ada7274b71 (diff)
parent5d69358d6f6e8a0ff67c491a7cb7581895e342f3 (diff)
downloadrust-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.rs2
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))]