about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJubilee Young <workingjubilee@gmail.com>2025-02-11 17:25:26 -0800
committerJubilee Young <workingjubilee@gmail.com>2025-02-11 20:03:56 -0800
commitcafa646f21ec41d6b20b5495c25456c997206dc1 (patch)
tree6d4e4872815aeaf643ab350c7ca57f6828852633
parentd97bde059a21211de92344233738ede496df3e32 (diff)
downloadrust-cafa646f21ec41d6b20b5495c25456c997206dc1.tar.gz
rust-cafa646f21ec41d6b20b5495c25456c997206dc1.zip
library: amend revert of extended_varargs_abi_support for beta diff
And leave a comment on the unusual `cfg_attr`

Co-authored-by: waffle <waffle.lapkin@gmail.com>
-rw-r--r--library/std/src/lib.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/library/std/src/lib.rs b/library/std/src/lib.rs
index 378c2e18152..aea81b4bdde 100644
--- a/library/std/src/lib.rs
+++ b/library/std/src/lib.rs
@@ -272,6 +272,9 @@
 //
 // Language features:
 // tidy-alphabetical-start
+
+// stabilization was reverted after it hit beta
+#![cfg_attr(not(bootstrap), feature(extended_varargs_abi_support))]
 #![feature(alloc_error_handler)]
 #![feature(allocator_internals)]
 #![feature(allow_internal_unsafe)]
@@ -289,7 +292,6 @@
 #![feature(doc_masked)]
 #![feature(doc_notable_trait)]
 #![feature(dropck_eyepatch)]
-#![feature(extended_varargs_abi_support)]
 #![feature(f128)]
 #![feature(f16)]
 #![feature(formatting_options)]