From: Matt Corallo Date: Thu, 5 Sep 2024 01:27:23 +0000 (+0000) Subject: Add missing `rustc` `metadata` override for `lightning_types` X-Git-Tag: v0.0.124.1^2 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=884a2ab9876f0e4df5b756096dca47f4ba067d72;p=ldk-c-bindings Add missing `rustc` `metadata` override for `lightning_types` This should resolve non-determinism in builds. --- diff --git a/deterministic-build-wrappers/rustc b/deterministic-build-wrappers/rustc index b05d340..5ac8fe2 100755 --- a/deterministic-build-wrappers/rustc +++ b/deterministic-build-wrappers/rustc @@ -10,7 +10,7 @@ IS_LIGHTNING=false for ((i=0; i<"${#args[@]}"; ++i)); do case ${args[i]} in --crate-name) - if [ "${args[i+1]}" = "lightning" -o "${args[i+1]}" = "lightning_background_processor" -o "${args[i+1]}" = "lightning_invoice" -o "${args[i+1]}" = "lightning_persister" -o "${args[i+1]}" = "lightning_rapid_gossip_sync" -o "${args[i+1]}" = "ldk" ]; then + if [ "${args[i+1]}" = "lightning" -o "${args[i+1]}" = "lightning_types" -o "${args[i+1]}" = "lightning_background_processor" -o "${args[i+1]}" = "lightning_invoice" -o "${args[i+1]}" = "lightning_persister" -o "${args[i+1]}" = "lightning_rapid_gossip_sync" -o "${args[i+1]}" = "ldk" ]; then IS_LIGHTNING=true fi ;;