about summary refs log tree commit diff
path: root/library/core/src/lib.rs
diff options
context:
space:
mode:
authorDeadbeef <ent3rm4n@gmail.com>2023-08-13 09:02:31 +0000
committerDeadbeef <ent3rm4n@gmail.com>2023-09-20 03:02:14 +0000
commit04eec37dc2cababaecffd423e330d3c19d3c6169 (patch)
tree55b68f8b57e28c6dd1fda1657cd14f4e8a3b7306 /library/core/src/lib.rs
parent3b9e0feff480b8df3254e7a828f50a1a55b88885 (diff)
downloadrust-04eec37dc2cababaecffd423e330d3c19d3c6169.tar.gz
rust-04eec37dc2cababaecffd423e330d3c19d3c6169.zip
Enable effects for libcore
Diffstat (limited to 'library/core/src/lib.rs')
-rw-r--r--library/core/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/core/src/lib.rs b/library/core/src/lib.rs
index b5458e667ed..8b04bafcda5 100644
--- a/library/core/src/lib.rs
+++ b/library/core/src/lib.rs
@@ -195,6 +195,7 @@
 //
 // Language features:
 // tidy-alphabetical-start
+#![cfg_attr(not(bootstrap), feature(effects))]
 #![feature(abi_unadjusted)]
 #![feature(adt_const_params)]
 #![feature(allow_internal_unsafe)]