Skip to content

Commit

Permalink
Add missing rustc metadata override for lightning_types
Browse files Browse the repository at this point in the history
This should resolve non-determinism in builds.
  • Loading branch information
TheBlueMatt committed Sep 5, 2024
1 parent 3e6f522 commit 884a2ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deterministic-build-wrappers/rustc
Original file line number Diff line number Diff line change
Expand Up @@ -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
;;
Expand Down

0 comments on commit 884a2ab

Please sign in to comment.