Skip to content

Commit 64b90f8

Browse files
committed
Fix buildbot failures
1 parent 5cdfd84 commit 64b90f8

File tree

13 files changed

+23
-9
lines changed

13 files changed

+23
-9
lines changed

src/libstd/os/android/mod.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414

1515
pub mod raw;
1616

17+
#[stable(feature = "raw_ext", since = "1.1.0")]
1718
pub mod fs {
18-
#![stable(feature = "raw_ext", since = "1.1.0")]
19+
#[stable(feature = "raw_ext", since = "1.1.0")]
1920
pub use sys::fs::MetadataExt;
2021
}

src/libstd/os/android/raw.rs

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
#![stable(feature = "raw_ext", since = "1.1.0")]
1414

1515
#[doc(inline)]
16+
#[stable(feature = "raw_ext", since = "1.1.0")]
1617
pub use self::arch::{dev_t, mode_t, blkcnt_t, blksize_t, ino_t, nlink_t, off_t, stat, time_t};
1718

1819
#[cfg(any(target_arch = "arm", target_arch = "x86"))]

src/libstd/os/bitrig/mod.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414

1515
pub mod raw;
1616

17+
#[stable(feature = "raw_ext", since = "1.1.0")]
1718
pub mod fs {
18-
#![stable(feature = "raw_ext", since = "1.1.0")]
19+
#[stable(feature = "raw_ext", since = "1.1.0")]
1920
pub use sys::fs::MetadataExt;
2021
}

src/libstd/os/dragonfly/mod.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414

1515
pub mod raw;
1616

17+
#[stable(feature = "raw_ext", since = "1.1.0")]
1718
pub mod fs {
18-
#![stable(feature = "raw_ext", since = "1.1.0")]
19+
#[stable(feature = "raw_ext", since = "1.1.0")]
1920
pub use sys::fs::MetadataExt;
2021
}

src/libstd/os/freebsd/mod.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414

1515
pub mod raw;
1616

17+
#[stable(feature = "raw_ext", since = "1.1.0")]
1718
pub mod fs {
18-
#![stable(feature = "raw_ext", since = "1.1.0")]
19+
#[stable(feature = "raw_ext", since = "1.1.0")]
1920
pub use sys::fs::MetadataExt;
2021
}

src/libstd/os/freebsd/raw.rs

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
#[stable(feature = "raw_ext", since = "1.1.0")] pub type fflags_t = u32;
2323

2424
#[doc(inline)]
25+
#[stable(feature = "raw_ext", since = "1.1.0")]
2526
pub use self::arch::{stat, time_t};
2627

2728
#[cfg(target_arch = "x86")]

src/libstd/os/ios/mod.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414

1515
pub mod raw;
1616

17+
#[stable(feature = "raw_ext", since = "1.1.0")]
1718
pub mod fs {
18-
#![stable(feature = "raw_ext", since = "1.1.0")]
19+
#[stable(feature = "raw_ext", since = "1.1.0")]
1920
pub use sys::fs::MetadataExt;
2021
}

src/libstd/os/macos/mod.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414

1515
pub mod raw;
1616

17+
#[stable(feature = "raw_ext", since = "1.1.0")]
1718
pub mod fs {
18-
#![stable(feature = "raw_ext", since = "1.1.0")]
19+
#[stable(feature = "raw_ext", since = "1.1.0")]
1920
pub use sys::fs::MetadataExt;
2021
}

src/libstd/os/nacl/mod.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414

1515
pub mod raw;
1616

17+
#[stable(feature = "raw_ext", since = "1.1.0")]
1718
pub mod fs {
18-
#![stable(feature = "raw_ext", since = "1.1.0")]
19+
#[stable(feature = "raw_ext", since = "1.1.0")]
1920
pub use sys::fs::MetadataExt;
2021
}

src/libstd/os/netbsd/mod.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414

1515
pub mod raw;
1616

17+
#[stable(feature = "raw_ext", since = "1.1.0")]
1718
pub mod fs {
18-
#![stable(feature = "raw_ext", since = "1.1.0")]
19+
#[stable(feature = "raw_ext", since = "1.1.0")]
1920
pub use sys::fs::MetadataExt;
2021
}

src/libstd/os/openbsd/mod.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414

1515
pub mod raw;
1616

17+
#[stable(feature = "raw_ext", since = "1.1.0")]
1718
pub mod fs {
18-
#![stable(feature = "raw_ext", since = "1.1.0")]
19+
#[stable(feature = "raw_ext", since = "1.1.0")]
1920
pub use sys::fs::MetadataExt;
2021
}

src/libstd/sys/common/unwind/gcc.rs

+2
Original file line numberDiff line numberDiff line change
@@ -253,12 +253,14 @@ pub mod eh_frame_registry {
253253
}
254254
#[cfg(not(test))]
255255
#[no_mangle]
256+
#[unstable(feature = "libstd_sys_internals", issue = "0")]
256257
pub unsafe extern fn rust_eh_register_frames(eh_frame_begin: *const u8,
257258
object: *mut u8) {
258259
__register_frame_info(eh_frame_begin, object);
259260
}
260261
#[cfg(not(test))]
261262
#[no_mangle]
263+
#[unstable(feature = "libstd_sys_internals", issue = "0")]
262264
pub unsafe extern fn rust_eh_unregister_frames(eh_frame_begin: *const u8,
263265
object: *mut u8) {
264266
__deregister_frame_info(eh_frame_begin, object);

src/libstd/sys/unix/time.rs

+1
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ mod inner {
4747
}
4848
}
4949

50+
#[unstable(feature = "libstd_sys_internals", issue = "0")]
5051
impl<'a> Sub for &'a SteadyTime {
5152
type Output = Duration;
5253

0 commit comments

Comments
 (0)