about summary refs log tree commit diff
path: root/library/std/src/lib.rs
diff options
context:
space:
mode:
authorSmitty <me@smitop.com>2021-07-29 13:00:55 -0400
committerMark Rousskov <mark.simulacrum@gmail.com>2021-12-06 21:05:13 -0500
commiteb56693a370df5bb60f58f73586cded6a641b0cc (patch)
treefd8c3686dba481883f95e9f3807f11478b0171a5 /library/std/src/lib.rs
parent0fb1c371d4a14f9ce7a721d8aea683a6e6774f6c (diff)
downloadrust-eb56693a370df5bb60f58f73586cded6a641b0cc.tar.gz
rust-eb56693a370df5bb60f58f73586cded6a641b0cc.zip
Implement concat_bytes!
The tracking issue for this is #87555.
Diffstat (limited to 'library/std/src/lib.rs')
-rw-r--r--library/std/src/lib.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/library/std/src/lib.rs b/library/std/src/lib.rs
index 67846e78835..367f072ffc7 100644
--- a/library/std/src/lib.rs
+++ b/library/std/src/lib.rs
@@ -250,6 +250,7 @@
 #![feature(cfg_target_thread_local)]
 #![feature(char_error_internals)]
 #![feature(char_internals)]
+#![cfg_attr(not(bootstrap), feature(concat_bytes))]
 #![feature(concat_idents)]
 #![feature(const_cstr_unchecked)]
 #![feature(const_fn_floating_point_arithmetic)]
@@ -576,6 +577,14 @@ pub use core::{
     log_syntax, module_path, option_env, stringify, trace_macros,
 };
 
+#[unstable(
+    feature = "concat_bytes",
+    issue = "87555",
+    reason = "`concat_bytes` is not stable enough for use and is subject to change"
+)]
+#[cfg(not(bootstrap))]
+pub use core::concat_bytes;
+
 #[stable(feature = "core_primitive", since = "1.43.0")]
 pub use core::primitive;