mirror of
https://github.com/rust-lang/rust
synced 2024-10-01 22:34:35 +00:00
Add opt-for-size core lib feature flag
This commit is contained in:
parent
be7549f82c
commit
1d1981b7b0
|
@ -31,6 +31,8 @@ rand_xorshift = { version = "0.3.0", default-features = false }
|
|||
[features]
|
||||
# Make panics and failed asserts immediately abort without formatting any message
|
||||
panic_immediate_abort = []
|
||||
# Choose algorithms that are optimized for binary size instead of runtime performance
|
||||
optimize_for_size = []
|
||||
# Make `RefCell` store additional debugging information, which is printed out when
|
||||
# a borrow error occurs
|
||||
debug_refcell = []
|
||||
|
|
Loading…
Reference in a new issue