Skip to main content

OUT_DIR

Constant OUT_DIR 

Source
pub const OUT_DIR: &str = "OUT_DIR";
Expand description

Cargo output directory for build artifacts

Note: This constant cannot be used with the env!() macro, which requires a string literal at compile time. Build scripts (build.rs) also cannot import this constant.