8 lines
159 B
Rust
8 lines
159 B
Rust
use build_target::{self, Family};
|
|
|
|
fn main() {
|
|
if let Ok(Family::Wasm) = build_target::target_family() {
|
|
println!("cargo:rustc-cfg=wasm");
|
|
}
|
|
}
|