Skip to content

Commit

Permalink
Merge pull request #1911 from joshtriplett/master
Browse files Browse the repository at this point in the history
Fix bootstrap on redox
  • Loading branch information
JohnTitor committed Oct 5, 2020
2 parents 458f49c + c4b0d5e commit 02fe5de
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,18 @@
// Attributes needed when building as part of the standard library
#![cfg_attr(
feature = "rustc-dep-of-std",
feature(cfg_target_vendor, link_cfg, no_core, static_nobundle)
feature(cfg_target_vendor, link_cfg, no_core)
)]
#![cfg_attr(libc_thread_local, feature(thread_local))]
// Enable extra lints:
#![cfg_attr(feature = "extra_traits", deny(missing_debug_implementations))]
#![deny(missing_copy_implementations, safe_packed_borrows)]
#![no_std]
#![cfg_attr(feature = "rustc-dep-of-std", no_core)]
#![cfg_attr(target_os = "redox", feature(static_nobundle))]
#![cfg_attr(
any(feature = "rustc-dep-of-std", target_os = "redox"),
feature(static_nobundle)
)]
#![cfg_attr(libc_const_extern_fn, feature(const_extern_fn))]

#[macro_use]
Expand Down

0 comments on commit 02fe5de

Please sign in to comment.