fmt-debug option
Allows disabling `fmt::Debug` derive and debug formatting.
This commit is contained in:
parent
100fde5246
commit
88b9edc9db
38 changed files with 285 additions and 56 deletions
|
@ -37,6 +37,8 @@ const GATED_CFGS: &[GatedCfg] = &[
|
|||
(sym::relocation_model, sym::cfg_relocation_model, cfg_fn!(cfg_relocation_model)),
|
||||
(sym::sanitizer_cfi_generalize_pointers, sym::cfg_sanitizer_cfi, cfg_fn!(cfg_sanitizer_cfi)),
|
||||
(sym::sanitizer_cfi_normalize_integers, sym::cfg_sanitizer_cfi, cfg_fn!(cfg_sanitizer_cfi)),
|
||||
// this is consistent with naming of the compiler flag it's for
|
||||
(sym::fmt_debug, sym::fmt_debug, cfg_fn!(fmt_debug)),
|
||||
];
|
||||
|
||||
/// Find a gated cfg determined by the `pred`icate which is given the cfg's name.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue