about summary refs log tree commit diff
path: root/library/std/src
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2020-10-05 09:20:39 +0200
committerRalf Jung <post@ralfj.de>2020-10-16 11:33:35 +0200
commitdefcd7ff47d81f184eb3ba5c1d44bbb9e3658de0 (patch)
tree55b605a381916f76372a315eb4446eccb913eb79 /library/std/src
parent6a32e794c2180a514ad80d3a481300b9afe0b536 (diff)
downloadrust-defcd7ff47d81f184eb3ba5c1d44bbb9e3658de0.tar.gz
rust-defcd7ff47d81f184eb3ba5c1d44bbb9e3658de0.zip
stop relying on feature(untagged_unions) in stdlib
Diffstat (limited to 'library/std/src')
-rw-r--r--library/std/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/lib.rs b/library/std/src/lib.rs
index 5224672adb2..30e7a7f3c3b 100644
--- a/library/std/src/lib.rs
+++ b/library/std/src/lib.rs
@@ -319,7 +319,7 @@
 #![feature(unsafe_block_in_unsafe_fn)]
 #![feature(unsafe_cell_get_mut)]
 #![feature(unsafe_cell_raw_get)]
-#![feature(untagged_unions)]
+#![cfg_attr(bootstrap, feature(untagged_unions))]
 #![feature(unwind_attributes)]
 #![feature(vec_into_raw_parts)]
 #![feature(wake_trait)]