diff options
| author | Dion Dokter <diondokter@gmail.com> | 2024-05-11 14:07:19 +0200 |
|---|---|---|
| committer | Dion Dokter <diondokter@gmail.com> | 2024-05-11 14:07:19 +0200 |
| commit | 1d1981b7b05f7883d23b4edcdc73868333bd318a (patch) | |
| tree | 75bae465d7e2a31f7d42b94660eaeca775136990 | |
| parent | be7549f82c194c7a5dc8f34ed0541bfebbaf33ea (diff) | |
| download | rust-1d1981b7b05f7883d23b4edcdc73868333bd318a.tar.gz rust-1d1981b7b05f7883d23b4edcdc73868333bd318a.zip | |
Add opt-for-size core lib feature flag
| -rw-r--r-- | library/core/Cargo.toml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/library/core/Cargo.toml b/library/core/Cargo.toml index a02fcf50416..11d33971f25 100644 --- a/library/core/Cargo.toml +++ b/library/core/Cargo.toml @@ -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 = [] |
