From b8b68983f392ece653ef1173a7f4d7cbdfe0a9ac Mon Sep 17 00:00:00 2001 From: Dion Dokter Date: Mon, 13 May 2024 22:20:32 +0200 Subject: [PATCH] Forward alloc features to core --- library/alloc/Cargo.toml | 4 ++-- 1 file 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"]