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

Add aarch64-unknown-linux-musl target #153

Merged
merged 1 commit into from
Sep 19, 2024
Merged

Conversation

yk4to
Copy link
Contributor

@yk4to yk4to commented Sep 19, 2024

On my Raspberry Pi 4 running NixOS, the following error occurred which appears to be caused by #150.

error: builder for '/nix/store/f5bx79d0kfag2pvlkvi8k49y4acabjnq-ragenix-0.1.0.drv' failed with exit code 101;
       last 10 log lines:
       >   |
       >   = note: the `aarch64-unknown-linux-musl` target may not be installed
       >   = help: consider downloading the target with `rustup target add aarch64-unknown-linux-musl`
       >
       > For more information about this error, try `rustc --explain E0463`.
       > error: could not compile `cfg-if` (lib) due to 1 previous error
       > warning: build failed, waiting for other jobs to finish...
       > error: could not compile `libc` (lib) due to 1 previous error
       > error: could not compile `zeroize` (lib) due to 1 previous error
       > error: could not compile `typenum` (lib) due to 1 previous error
       For full logs, run 'nix log /nix/store/f5bx79d0kfag2pvlkvi8k49y4acabjnq-ragenix-0.1.0.drv'.

It was fixed by simply adding aarch64-unknown-linux-musl as a target.
I am not familiar with Rust, so sorry if this PR is off the mark.

Copy link
Member

@veehaitch veehaitch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@veehaitch veehaitch enabled auto-merge (squash) September 19, 2024 14:04
@veehaitch veehaitch merged commit 687ee92 into yaxitech:main Sep 19, 2024
5 checks passed
@yk4to yk4to deleted the add-target branch September 19, 2024 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants