Commit 8bb2127
committed
fix(ci): accept static-pie binaries in the static-link check
`file` on the Ubuntu CI runner reports our musl binary as
"static-pie linked" (position-independent + statically linked) rather
than "statically linked" — that's the modern default for musl + Rust
1.93 and means the binary is fully static, not dynamically linked.
Our grep only accepted the older "statically linked" string, so the
check rejected a perfectly-static binary. See run 25212930359 (job
"Static (musl) Build", step "Confirm binary is statically linked").
Now accept either form, and add a positive check that the binary
isn't "dynamically linked" (defence in depth — if `file`'s output
ever changes again to some new third form, we'll catch
"dynamically linked" still being absent).
The binary itself is unchanged; only the verification logic moved.1 parent 6dedc5d commit 8bb2127
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
81 | 87 | | |
82 | 88 | | |
83 | 89 | | |
| |||
0 commit comments