Repository navigation
Commit d937ebf
committed
fix(nix): resolve cargo-hawk's compiler library on Linux
The Linux build failed in CI with auto-patchelf unable to satisfy
librustc_driver-832cf6cfb1386559.so and libgcc_s.so.1. That dependency is the
concrete form of hawk's "only runs on the toolchain it was built against": its
driver links the compiler's shared library directly, and Darwin resolved it through
@rpath while Linux needs it on the search path.
The pinned toolchain carries the matching file because rust-overlay repackages the
same upstream release, so it goes into runtimeDependencies rather than being
vendored — verified on Darwin, where the published binary asks for
librustc_driver-e03ed1db822dfa4c and 1.97.1 ships exactly that.1 parent a0dfc12 commit d937ebf
2 files changed
Lines changed: 13 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
53 | | - | |
54 | | - | |
| 54 | + | |
| 55 | + | |
55 | 56 | | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
56 | 64 | | |
57 | 65 | | |
58 | 66 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
37 | 39 | | |
38 | 40 | | |
39 | 41 | | |
| |||
0 commit comments