This commit is contained in:
Nikolay Volf 2016-02-29 15:23:43 +03:00
parent e0c158c12f
commit 06623333d9

View File

@ -7,7 +7,7 @@ use rustc_version::{version_meta, Channel};
fn main() {
vergen(OutputFns::all()).unwrap();
if let Channel::Nightly = version_meta().channel {
if let Channel::Nightly = version_meta().channel {
println!("cargo:rustc-cfg=x64asm");
}
}
}