]> git.lizzy.rs Git - rust.git/blobdiff - src/libtest/lib.rs
Rollup merge of #23056 - awlnx:master, r=nrc
[rust.git] / src / libtest / lib.rs
index 06af12e807546c371e440e19967ee6f7472155db..44aaeec6145e5bc31a25ac7eadaf1540d6879ca8 100644 (file)
@@ -23,6 +23,8 @@
 // running tests while providing a base that other test frameworks may
 // build off of.
 
+// Do not remove on snapshot creation. Needed for bootstrap. (Issue #22364)
+#![cfg_attr(stage0, feature(custom_attribute))]
 #![crate_name = "test"]
 #![unstable(feature = "test")]
 #![staged_api]