]> git.bitcoin.ninja Git - ldk-c-bindings/commitdiff
Fix `compiler_builtins` pin for macOS builds
authorMatt Corallo <git@bluematt.me>
Mon, 14 Oct 2024 20:08:58 +0000 (20:08 +0000)
committerMatt Corallo <git@bluematt.me>
Mon, 14 Oct 2024 20:08:58 +0000 (20:08 +0000)
genbindings.sh

index 258f6662c6daaed58ff14349abcf8874bf89bd11..2d310892b51dc93bda683bde5a25ff4ddfbd49c6 100755 (executable)
@@ -397,7 +397,7 @@ function REALLY_PIN_CC {
                fi
                rm -f "$CARGO_REGISTRY_CACHE/"cc-*.crate
                [ -f ./cc-1.0.79.crate ] && mv ./cc-1.0.79.crate "$CARGO_REGISTRY_CACHE/"
-               rm -f "$CARGO_REGISTRY_CACHE/"compiler_builtins-0.1.11*.crate
+               rm -f "$CARGO_REGISTRY_CACHE/"compiler_builtins-*.crate
                [ -f ./compiler_builtins-0.1.109.crate ] && mv ./compiler_builtins-0.1.109.crate "$CARGO_REGISTRY_CACHE/"
        else
                echo "Couldn't find cargo cache, build-std builds are likely to fail!"