Fixing compilation errors on Windows

[?]
Jan 5, 2021, 6:34 PM
53LCNWY2MBI4LX54LGUJFUOLIJUFOEYN3NUZAX7O5XTHT44ZJ22QC

Dependencies

  • [2] TKSHSYFM Using pkg-config to find the libraries (+ some cleanup)
  • [3] UPRY2FEL Remove bindgen dependency
  • [4] HELRYMZK Manual bindings (Windows and Clang aren't very good friends), and getting rid of anyhow
  • [5] IH334Q5A Reboot

Change contents

  • replacement in build.rs at line 11
    [3.266447][2.89:193]()
    pkg_config::probe_library("libzstd").unwrap();
    pkg_config::probe_library("libxxhash").unwrap();
    [3.266447]
    [3.269439]
    if pkg_config::probe_library("libzstd").is_err() {
    println!("cargo:rustc-link-lib=zstd");
    }
    if pkg_config::probe_library("libxxhash").is_err() {
    println!("cargo:rustc-link-lib=xxhash");
    }
  • replacement in Cargo.toml at line 4
    [3.269755][2.194:212]()
    version = "0.1.6"
    [3.269755]
    [3.269773]
    version = "0.1.7"