Skip to content

Commit 02fe5de

Browse files
authored
Merge pull request #1911 from joshtriplett/master
Fix bootstrap on redox
2 parents 458f49c + c4b0d5e commit 02fe5de

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/lib.rs

+5-2
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,18 @@
1919
// Attributes needed when building as part of the standard library
2020
#![cfg_attr(
2121
feature = "rustc-dep-of-std",
22-
feature(cfg_target_vendor, link_cfg, no_core, static_nobundle)
22+
feature(cfg_target_vendor, link_cfg, no_core)
2323
)]
2424
#![cfg_attr(libc_thread_local, feature(thread_local))]
2525
// Enable extra lints:
2626
#![cfg_attr(feature = "extra_traits", deny(missing_debug_implementations))]
2727
#![deny(missing_copy_implementations, safe_packed_borrows)]
2828
#![no_std]
2929
#![cfg_attr(feature = "rustc-dep-of-std", no_core)]
30-
#![cfg_attr(target_os = "redox", feature(static_nobundle))]
30+
#![cfg_attr(
31+
any(feature = "rustc-dep-of-std", target_os = "redox"),
32+
feature(static_nobundle)
33+
)]
3134
#![cfg_attr(libc_const_extern_fn, feature(const_extern_fn))]
3235

3336
#[macro_use]

0 commit comments

Comments
 (0)