Commit 03452d0
committed
fix(ci/edriver): add -L native=/usr/lib to RUSTFLAGS for zstd on Alpine
'-l static=zstd' in RUSTFLAGS causes rustc to validate the library
exists at compile-time for every crate (including pure-Rust libs like
cfg-if). Without an explicit -L path, rustc cannot locate libzstd.a
and errors with 'could not find native static library zstd'.
Fix: add '-L native=/usr/lib' alongside '-l static=zstd' so rustc
knows where to find /usr/lib/libzstd.a (provided by zstd-static).1 parent e5e0345 commit 03452d0
1 file changed
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
40 | 44 | | |
41 | | - | |
| 45 | + | |
42 | 46 | | |
43 | 47 | | |
44 | 48 | | |
| |||
0 commit comments