1
3
fn main() {
2
    // Check if the target is WebAssembly
3
3
    let target = std::env::var("TARGET").unwrap_or_default();
4

            
5
3
    if target.contains("wasm32") {
6
        println!("cargo:rustc-cfg=wasm");
7
3
    }
8
3
}