rustdesk/vendor/flutter_rust_bridge/build.rs

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");
}
}