opt_level

Function opt_level 

Source
pub fn opt_level() -> String
Expand description

The optimization level specified for the build profile specified/being compiled.

Corresponds to the OPT_LEVEL environment variable set by Cargo when when compiling build.rs.