about summary refs log tree commit diff
path: root/src/libstd/lib.rs
diff options
context:
space:
mode:
authorCameron Hart <cameron.hart@gmail.com>2017-12-26 10:24:23 +1100
committerCameron Hart <cameron.hart@gmail.com>2018-01-23 08:36:13 +1100
commit651ea8ea44d8ac8a02dc357412eb73f830057cae (patch)
tree820d926f0c4be2a27bd66376a1b24bb107f41534 /src/libstd/lib.rs
parentfdc18b3067b5bad257ccbe7400e3c4fb617e9e18 (diff)
downloadrust-651ea8ea44d8ac8a02dc357412eb73f830057cae.tar.gz
rust-651ea8ea44d8ac8a02dc357412eb73f830057cae.zip
Stabilized `#[repr(align(x))]` attribute (RFC 1358)
Diffstat (limited to 'src/libstd/lib.rs')
-rw-r--r--src/libstd/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs
index 91cc6d25cce..a8049e676b3 100644
--- a/src/libstd/lib.rs
+++ b/src/libstd/lib.rs
@@ -296,7 +296,6 @@
 #![feature(ptr_internals)]
 #![feature(rand)]
 #![feature(raw)]
-#![feature(repr_align)]
 #![feature(rustc_attrs)]
 #![feature(sip_hash_13)]
 #![feature(slice_bytes)]
@@ -323,6 +322,7 @@
 #![feature(doc_spotlight)]
 #![cfg_attr(test, feature(update_panic_count))]
 #![cfg_attr(windows, feature(used))]
+#![cfg_attr(stage0, feature(repr_align))]
 
 #![default_lib_allocator]