diff options
| author | Erik Desjardins <erikdesjardins@users.noreply.github.com> | 2022-02-19 10:35:44 -0500 |
|---|---|---|
| committer | Erik Desjardins <erikdesjardins@users.noreply.github.com> | 2022-02-19 10:36:29 -0500 |
| commit | c2e84fa5fc4788a8bcb97fbcdc2fa78359e44121 (patch) | |
| tree | 32836b1faf50d739ca745caf583e4cde1d25481e /compiler | |
| parent | d5769e9843dede495551a781cf947b631984868f (diff) | |
| download | rust-c2e84fa5fc4788a8bcb97fbcdc2fa78359e44121.tar.gz rust-c2e84fa5fc4788a8bcb97fbcdc2fa78359e44121.zip | |
reduce default uninit_const_chunk_threshold to 16 (from 256)
Diffstat (limited to 'compiler')
| -rw-r--r-- | compiler/rustc_session/src/options.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_session/src/options.rs b/compiler/rustc_session/src/options.rs index 26bb268a039..11204df7aea 100644 --- a/compiler/rustc_session/src/options.rs +++ b/compiler/rustc_session/src/options.rs @@ -1485,9 +1485,9 @@ options! { "in diagnostics, use heuristics to shorten paths referring to items"), ui_testing: bool = (false, parse_bool, [UNTRACKED], "emit compiler diagnostics in a form suitable for UI testing (default: no)"), - uninit_const_chunk_threshold: usize = (256, parse_number, [TRACKED], + uninit_const_chunk_threshold: usize = (16, parse_number, [TRACKED], "allow generating const initializers with mixed init/uninit chunks, \ - and set the maximum number of chunks for which this is allowed (default: 256)"), + and set the maximum number of chunks for which this is allowed (default: 16)"), unleash_the_miri_inside_of_you: bool = (false, parse_bool, [TRACKED], "take the brakes off const evaluation. NOTE: this is unsound (default: no)"), unpretty: Option<String> = (None, parse_unpretty, [UNTRACKED], |
