Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.rlib: unrecognized file extension #21819

Open
i18nsite opened this issue Oct 27, 2024 · 0 comments
Open

.rlib: unrecognized file extension #21819

i18nsite opened this issue Oct 27, 2024 · 0 comments
Labels
bug Observed behavior contradicts documented or intended behavior

Comments

@i18nsite
Copy link

Zig Version

zig-linux-x86_64-0.14.0-dev.2032+c563ba6b1

Steps to Reproduce and Observed Behavior

rust-cross/cargo-zigbuild#290
#21700 (comment)

https://github.com/i18n-site/rust/actions/runs/11519713302/job/32069371843#step:9:494

+ RUSTFLAGS='--cfg reqwest_unstable -D warnings -C target-feature=+aes -C target-feature=+neon'
+ cargo zigbuild -p i18 -Z build-std=std,panic_abort --release --target aarch64-unknown-linux-gnu
...
error: linking with `/home/runner/.cache/cargo-zigbuild/0.19.3/zigcc-aarch64-unknown-linux-gnu-aef7.sh` failed: exit status: 1
  |
  = note: LC_ALL="C" PATH="/home/runner/.rustup/toolchains/nightly-2024-09-26-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin:/home/runner/.rustup/toolchains/nightly-2024-09-26-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin:/home/runner/.rustup/toolchains/nightly-2024-09-26-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin:/opt/hostedtoolcache/zig/master/x64:/opt/hostedtoolcache/protoc/v23.4/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" VSLANG="1033" "/home/runner/.cache/cargo-zigbuild/0.19.3/zigcc-aarch64-unknown-linux-gnu-aef7.sh" "/tmp/rustc1xVHGG/symbols.o" "/home/runner/work/rust/rust/target/aarch64-unknown-linux-gnu/release/deps/i18-a9d13ee857f8352f.i18.c41756c17b41297-cgu.0.rcgu.o" "-W
  = note: warning: ignoring deprecated linker optimization setting '1'
          error: /tmp/rustc1xVHGG/libblake3-716a40260c8329b7.rlib: unrecognized file extension

Expected Behavior

can build

@i18nsite i18nsite added the bug Observed behavior contradicts documented or intended behavior label Oct 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Observed behavior contradicts documented or intended behavior
Projects
None yet
Development

No branches or pull requests

1 participant