Open i18nsite opened 1 month ago
I'm also hitting the same error for a different rlib
:
error: linking with `/home/runner/.cache/cargo-zigbuild/0.19.3/zigcc-x86_64-unknown-linux-gnu.2.17-c33b.sh` failed: exit status: 1
...
= note: error: /home/runner/work/bencher/bencher/target/x86_64-unknown-linux-gnu/release-small/deps/libdeunicode-ff1e04ce90e4b134.rlib: unrecognized file extension
error: could not compile `slug` (lib) due to 1 previous error
https://github.com/bencherdev/bencher/actions/runs/11519600050/job/32068983882#step:6:464
Yes, it was working fine before, but I don't know why, but it keeps reporting rlib errors since yesterday.
Yep, same here. I checked the GitHub Actions runner compared to the last successful build: https://github.com/bencherdev/bencher/actions/runs/11471625875/job/31949627680
And it seems like they are the exact same, so I eliminated that as a factor.
I find a way to fix this use github action
- uses: mlugg/setup-zig@v1
to install stable zig not the nightly zig
break on zig-linux-x86_64-0.14.0-dev.1991+33d07f4b6 -> zig-linux-x86_64-0.14.0-dev.2032+c563ba6b1
https://github.com/ziglang/zig/commit/c563ba6b1 https://github.com/ziglang/zig/pull/21700
I find a way to fix this use github action
- uses: mlugg/setup-zig@v1
Making the switch is now recommended by the maintainer of goto-bus-stop/setup-zig
: https://github.com/goto-bus-stop/setup-zig/issues/88
https://github.com/i18n-site/rust/actions/runs/11519713302/job/32069371843#step:9:494