println!("cargo:rustc-link-lib=zstd");
    println!("cargo:rustc-link-lib=xxhash");
    /*
    let bindings = bindgen::Builder::default()
        .clang_arg("-Izstd/lib/common")
        .clang_arg("-Izstd/lib")
        .header("zstd/contrib/seekable_format/zstd_seekable.h")
        .whitelist_function("ZSTD_CStreamInSize")
        .whitelist_function("ZSTD_CStreamOutSize")
        .whitelist_function("ZSTD_seekable_createCStream")
        .whitelist_function("ZSTD_seekable_create")
        .whitelist_function("ZSTD_seekable_initCStream")
        .whitelist_function("ZSTD_seekable_initBuff")
        .whitelist_function("ZSTD_seekable_initFile")
        .whitelist_function("ZSTD_seekable_compressStream")
        .whitelist_function("ZSTD_seekable_decompress")
        .whitelist_function("ZSTD_seekable_endStream")
        .whitelist_function("ZSTD_seekable_free")
        .whitelist_function("ZSTD_seekable_freeCStream")
        .whitelist_function("ZSTD_DStreamOutSize")
        .whitelist_function("ZSTD_getErrorName")
        .whitelist_function("ZSTD_seekable_getNumFrames")
        .whitelist_function("ZSTD_seekable_getFrameCompressedOffset")
        .whitelist_function("ZSTD_seekable_getFrameCompressedSize")
        .whitelist_function("ZSTD_seekable_getFrameDecompressedOffset")
        .whitelist_function("ZSTD_seekable_getFrameDecompressedSize")
        .whitelist_function("ZSTD_seekable_decompressFrame")
        .whitelist_function("ZSTD_seekable_offsetToFrameIndex")
        .whitelist_function("ZSTD_isError")
        .whitelist_function("ZSTD_seekable_freeFrameLog")
        .whitelist_function("ZSTD_seekable_logFrame")
        .whitelist_function("ZSTD_seekable_createFrameLog")
        .whitelist_function("ZSTD_seekable_writeSeekTable")
        .whitelist_function("ZSTD_compress")
        .whitelist_function("xxh64")
        //
        .whitelist_function("ZSTD_createCStream")
        .whitelist_function("ZSTD_initCStream")
        .whitelist_function("ZSTD_freeCStream")
        .whitelist_function("ZSTD_flushStream")
        .whitelist_function("ZSTD_endStream")
        .whitelist_function("ZSTD_compressStream")
        .whitelist_function("ZSTD_compressStream2")
        .whitelist_function("ZSTD_CStreamInSize")
        .whitelist_function("ZSTD_CStreamOutSize")
        //
        .whitelist_function("ZSTD_createDStream")
        .whitelist_function("ZSTD_initDStream")
        .whitelist_function("ZSTD_freeDStream")
        .whitelist_function("ZSTD_decompressStream")
        .whitelist_type("ZSTD_inBuffer")
        .whitelist_type("ZSTD_outBuffer")
        .whitelist_type("ZSTD_frameLog")
        .whitelist_function("ZSTD_seekable_initAdvanced")
        .whitelist_type("ZSTD_seekable_customFile")
        .generate()
        .expect("Unable to generate bindings");
    let out_path = PathBuf::from(env::var("OUT_DIR").unwrap());
    bindings
        .write_to_file(out_path.join("bindings.rs"))
        .expect("Couldn't write bindings!");
     */