about summary refs log tree commit diff
path: root/library/core/src/lib.rs
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/core/src/lib.rs
parent6a32e794c2180a514ad80d3a481300b9afe0b536 (diff)
downloadrust-defcd7ff47d81f184eb3ba5c1d44bbb9e3658de0.tar.gz
rust-defcd7ff47d81f184eb3ba5c1d44bbb9e3658de0.zip
stop relying on feature(untagged_unions) in stdlib
Diffstat (limited to 'library/core/src/lib.rs')
-rw-r--r--library/core/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/lib.rs b/library/core/src/lib.rs
index 97f27566eb0..737a95b603b 100644
--- a/library/core/src/lib.rs
+++ b/library/core/src/lib.rs
@@ -131,7 +131,7 @@
 #![feature(transparent_unions)]
 #![feature(unboxed_closures)]
 #![feature(unsized_locals)]
-#![feature(untagged_unions)]
+#![cfg_attr(bootstrap, feature(untagged_unions))]
 #![feature(unwind_attributes)]
 #![feature(variant_count)]
 #![feature(tbm_target_feature)]