]> git.lizzy.rs Git - rust.git/blobdiff - src/libserialize/lib.rs
Rollup merge of #23056 - awlnx:master, r=nrc
[rust.git] / src / libserialize / lib.rs
index bfc6b1bf0ef13ba5729ae98c84b0ffcf2afcc092..ad7908c6dd57c820bf327d81cd7c06f8d7307921 100644 (file)
@@ -14,6 +14,8 @@
 Core encoding and decoding interfaces.
 */
 
+// Do not remove on snapshot creation. Needed for bootstrap. (Issue #22364)
+#![cfg_attr(stage0, feature(custom_attribute))]
 #![crate_name = "serialize"]
 #![unstable(feature = "rustc_private",
             reason = "deprecated in favor of rustc-serialize on crates.io")]