From 5d69358d6f6e8a0ff67c491a7cb7581895e342f3 Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Thu, 17 Mar 2022 13:06:27 -0600 Subject: [PATCH] redox: fix compilation on stable --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 630ee7a0efb75..3a4dcee70624c 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))]