Recently Rust nightly support
-Zcheck-cfg option to
-- Specify scope of compile-time checking of cfg names/values. It can be attached to command line option as
-Zcheck-cfg=features,names,values,output; but can't be added to config.toml unstable section. Such as in .cargo/config.toml
error: invalid type: string "features", expected a boolean
Anyone knows how to set it up?