Conditional Compilation
Source code can be conditionally compiled using the attributes cfg
and cfg_attr
and the built-in cfg
macro.
Rustup
rustup install nightly
rustup override set nightly
Nov 04, 20241 min read
Source code can be conditionally compiled using the attributes cfg
and cfg_attr
and the built-in cfg
macro.
rustup install nightly
rustup override set nightly