//use std::path::PathBuf;
//use std::env;

fn main() {
    let target = std::env::var("TARGET").unwrap();
    if target.contains("wasm32") {
        //https://users.rust-lang.org/t/how-to-static-link-c-lib-to-wasm/36558/5
        std::env::set_var("CC", "clang");