Function autocfg::emit

source · []
pub fn emit(cfg: &str)
Expand description

Writes a config flag for rustc on standard out.

This looks like: cargo:rustc-cfg=CFG

Cargo will use this in arguments to rustc, like --cfg CFG.