diff options
| author | bors <bors@rust-lang.org> | 2018-01-25 00:26:17 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-01-25 00:26:17 +0000 |
| commit | a0a9007f8d28234086f33c425bb996acd646bd14 (patch) | |
| tree | 59ea2149cf3162489b534869f2030d97000f1cae /src/libstd | |
| parent | a0dcecff90c45ad5d4eb60859e22bb3f1b03842a (diff) | |
| parent | 651ea8ea44d8ac8a02dc357412eb73f830057cae (diff) | |
| download | rust-a0a9007f8d28234086f33c425bb996acd646bd14.tar.gz rust-a0a9007f8d28234086f33c425bb996acd646bd14.zip | |
Auto merge of #47006 - bitshifter:stabilize-repr-align, r=eddyb
Stabilized `#[repr(align(x))]` attribute (RFC 1358) Stabilzed `#[repr(align(x))]` with attr_literal syntax as proposed by @eddyb https://github.com/rust-lang/rust/issues/33626#issuecomment-348467804
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/lib.rs | 2 |
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] |
