Skip to content

Commit 1d1981b

Browse files
committed
Add opt-for-size core lib feature flag
1 parent be7549f commit 1d1981b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

library/core/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ rand_xorshift = { version = "0.3.0", default-features = false }
3131
[features]
3232
# Make panics and failed asserts immediately abort without formatting any message
3333
panic_immediate_abort = []
34+
# Choose algorithms that are optimized for binary size instead of runtime performance
35+
optimize_for_size = []
3436
# Make `RefCell` store additional debugging information, which is printed out when
3537
# a borrow error occurs
3638
debug_refcell = []

0 commit comments

Comments
 (0)