Skip to content

Commit fe31352

Browse files
committed
[rebase] Add feature(cfg_target_env)
1 parent e1510de commit fe31352

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

src/liballoc/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@
8080
#![feature(unsafe_no_drop_flag, filling_drop)]
8181
#![feature(core)]
8282
#![feature(unique)]
83+
#![feature(cfg_target_env)]
8384
#![cfg_attr(test, feature(test, alloc, rustc_private))]
8485
#![cfg_attr(all(not(feature = "external_funcs"), not(feature = "external_crate")),
8586
feature(libc))]

src/liblibc/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
#![crate_type = "rlib"]
1515
#![cfg_attr(not(feature = "cargo-build"), unstable(feature = "libc"))]
1616
#![cfg_attr(not(feature = "cargo-build"), feature(staged_api, core, no_std))]
17+
#![cfg_attr(not(feature = "cargo-build"), feature(cfg_target_env))]
1718
#![cfg_attr(not(feature = "cargo-build"), staged_api)]
1819
#![cfg_attr(not(feature = "cargo-build"), no_std)]
1920
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",

src/libstd/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@
129129
#![feature(slice_patterns)]
130130
#![feature(debug_builders)]
131131
#![feature(zero_one)]
132+
#![feature(cfg_target_env)]
132133
#![cfg_attr(test, feature(float_from_str_radix))]
133134
#![cfg_attr(test, feature(test, rustc_private, std_misc))]
134135

0 commit comments

Comments
 (0)