Add flag for stricter checks on uninit/zeroed
This commit is contained in:
parent
43d9f3859e
commit
dd9f31d000
6 changed files with 116 additions and 26 deletions
|
@ -1495,6 +1495,8 @@ options! {
|
|||
"hash algorithm of source files in debug info (`md5`, `sha1`, or `sha256`)"),
|
||||
stack_protector: StackProtector = (StackProtector::None, parse_stack_protector, [TRACKED],
|
||||
"control stack smash protection strategy (`rustc --print stack-protector-strategies` for details)"),
|
||||
strict_init_checks: bool = (false, parse_bool, [TRACKED],
|
||||
"control if mem::uninitialized and mem::zeroed panic on more UB"),
|
||||
strip: Strip = (Strip::None, parse_strip, [UNTRACKED],
|
||||
"tell the linker which information to strip (`none` (default), `debuginfo` or `symbols`)"),
|
||||
split_dwarf_kind: SplitDwarfKind = (SplitDwarfKind::Split, parse_split_dwarf_kind, [UNTRACKED],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue