about summary refs log tree commit diff
path: root/library/alloc/src/lib.rs
diff options
context:
space:
mode:
authorThe 8472 <git@infinite-source.de>2024-08-13 23:54:54 +0200
committerThe 8472 <git@infinite-source.de>2024-08-14 20:50:04 +0200
commit6d8f0bd930dc0ab9c72fc89583e74500a665e2ba (patch)
tree662ba025725a0ef377a7e22388fb8527f2311e03 /library/alloc/src/lib.rs
parent80eb5a8e910e5185d47cdefe3732d839c78a5e7e (diff)
downloadrust-6d8f0bd930dc0ab9c72fc89583e74500a665e2ba.tar.gz
rust-6d8f0bd930dc0ab9c72fc89583e74500a665e2ba.zip
apply #[optimize(size)] to #[cold] ones and part of the panick machinery
Diffstat (limited to 'library/alloc/src/lib.rs')
-rw-r--r--library/alloc/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/alloc/src/lib.rs b/library/alloc/src/lib.rs
index 3e44adf73f0..856cb2b54f4 100644
--- a/library/alloc/src/lib.rs
+++ b/library/alloc/src/lib.rs
@@ -185,6 +185,7 @@
 #![feature(multiple_supertrait_upcastable)]
 #![feature(negative_impls)]
 #![feature(never_type)]
+#![feature(optimize_attribute)]
 #![feature(rustc_allow_const_fn_unstable)]
 #![feature(rustc_attrs)]
 #![feature(slice_internals)]