Skip to content

Commit 39df5dc

Browse files
committed
Merge pull request #25311 from alexcrichton/beta-backport
Backport instability comment to beta
2 parents fd815b7 + 2f0dce3 commit 39df5dc

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/liblibc/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
#![cfg_attr(stage0, feature(custom_attribute))]
1313
#![crate_name = "libc"]
1414
#![crate_type = "rlib"]
15-
#![cfg_attr(not(feature = "cargo-build"), unstable(feature = "libc"))]
15+
#![cfg_attr(not(feature = "cargo-build"), unstable(feature = "libc",
16+
reason = "use `libc` from crates.io"))]
1617
#![cfg_attr(not(feature = "cargo-build"), feature(staged_api, core, no_std))]
1718
#![cfg_attr(not(feature = "cargo-build"), staged_api)]
1819
#![cfg_attr(not(feature = "cargo-build"), no_std)]

src/librand/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@
2626
html_playground_url = "http://play.rust-lang.org/")]
2727
#![no_std]
2828
#![staged_api]
29-
#![unstable(feature = "rand")]
29+
#![unstable(feature = "rand",
30+
reason = "use `rand` from crates.io")]
3031
#![feature(core)]
3132
#![feature(no_std)]
3233
#![feature(staged_api)]

0 commit comments

Comments
 (0)