Unverified Commit 5b5b8c9e authored by Steven Fackler's avatar Steven Fackler Committed by GitHub
Browse files

Merge pull request #2094 from BlackDex/fix-32bit-static-build

Remove dynamic allocation of atomic
parents cab7c189 b1b0acfe
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -130,7 +130,7 @@ fn main() {
            || env::var("CARGO_CFG_TARGET_OS").unwrap() == "android")
        && env::var("CARGO_CFG_TARGET_POINTER_WIDTH").unwrap() == "32"
    {
        println!("cargo:rustc-link-lib=dylib=atomic");
        println!("cargo:rustc-link-lib=atomic");
    }

    if kind == "static" && target.contains("windows") {