blob: 1839008e90f8779b5c3c192902a1aa153a359f78 [file] [log] [blame]
use std::env;
fn main () {
let is_sim = env::var("SGX_MODE")
.unwrap_or_else(|_| "HW".to_string());
match is_sim.as_ref() {
"SW" => {
},
_ => { // HW by default
println!("cargo:rustc-cfg=feature=\"hw_test\"");
},
}
}