blob: dbb56dc781b71a1e0e4981d84e532915a13d033b [file]
use std::env;
fn main() {
// Forward the opt level so we can warn if the tests are going to be slow.
let opt = env::var("OPT_LEVEL").expect("OPT_LEVEL unset");
let profile = env::var("PROFILE").expect("PROFILE unset");
println!("cargo::rustc-env=OPT_LEVEL={opt}");
println!("cargo::rustc-env=PROFILE={profile}");
}