about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDion Dokter <diondokter@gmail.com>2024-05-13 22:20:32 +0200
committerGitHub <noreply@github.com>2024-05-13 22:20:32 +0200
commitb8b68983f392ece653ef1173a7f4d7cbdfe0a9ac (patch)
treec7aba377a1b585627cd0c1dffdc35c8f86765126
parent9ab0af820dddae34405252869597d3d853896ed0 (diff)
downloadrust-b8b68983f392ece653ef1173a7f4d7cbdfe0a9ac.tar.gz
rust-b8b68983f392ece653ef1173a7f4d7cbdfe0a9ac.zip
Forward alloc features to core
-rw-r--r--library/alloc/Cargo.toml4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/alloc/Cargo.toml b/library/alloc/Cargo.toml
index 4548a27b420..2e7fcb9dbd3 100644
--- a/library/alloc/Cargo.toml
+++ b/library/alloc/Cargo.toml
@@ -37,6 +37,6 @@ compiler-builtins-no-asm = ["compiler_builtins/no-asm"]
 compiler-builtins-mangled-names = ["compiler_builtins/mangled-names"]
 compiler-builtins-weak-intrinsics = ["compiler_builtins/weak-intrinsics"]
 # Make panics and failed asserts immediately abort without formatting any message
-panic_immediate_abort = []
+panic_immediate_abort = ["core/panic_immediate_abort"]
 # Choose algorithms that are optimized for binary size instead of runtime performance
-optimize_for_size = []
+optimize_for_size = ["core/optimize_for_size"]