Skip to content

Commit

Permalink
Fix build with rustc-dep-of-std in the latest nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
Amanieu d'Antras authored and Amanieu committed Jan 20, 2021
1 parent 062a415 commit dc02daa
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/lib.rs
Expand Up @@ -17,10 +17,7 @@
)]
#![cfg_attr(libc_deny_warnings, deny(warnings))]
// 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)
)]
#![cfg_attr(feature = "rustc-dep-of-std", feature(link_cfg, no_core))]
#![cfg_attr(libc_thread_local, feature(thread_local))]
// Enable extra lints:
#![cfg_attr(feature = "extra_traits", deny(missing_debug_implementations))]
Expand Down

0 comments on commit dc02daa

Please sign in to comment.