Prep work for the 0.1 release

This commit is contained in:
Alex Crichton
2018-03-05 20:24:35 -08:00
parent 98030e0e4a
commit f58c436f77
12 changed files with 54 additions and 7 deletions

View File

@ -9,6 +9,8 @@ fn main() {
.map(|s| s.stdout)
.and_then(|s| String::from_utf8(s).ok());
if let Some(rev) = rev {
println!("cargo:rustc-env=WBG_VERSION={}", &rev[..9]);
if rev.len() >= 9 {
println!("cargo:rustc-env=WBG_VERSION={}", &rev[..9]);
}
}
}