mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-07-02 22:21:33 +00:00
Prep work for the 0.1 release
This commit is contained in:
@ -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]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user