From: Matt Corallo Date: Wed, 9 Jun 2021 19:41:23 +0000 (+0000) Subject: Ensure we sanitize rustc random values for all lightning crates X-Git-Tag: v0.0.98~1^2 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=refs%2Fheads%2F2021-06-fix-nondeterminism;p=ldk-c-bindings Ensure we sanitize rustc random values for all lightning crates --- diff --git a/deterministic-build-wrappers/rustc b/deterministic-build-wrappers/rustc index 2f35677..eba9cda 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" ]; then + if [ "${args[i+1]}" = "lightning" -o "${args[i+1]}" = "lightning_background_processor" -o "${args[i+1]}" = "lightning_invoice" -o "${args[i+1]}" = "lightning_persister" ]; then IS_LIGHTNING=true fi ;;