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 static musl build #150

Merged
merged 2 commits into from
Sep 8, 2024
Merged

Add static musl build #150

merged 2 commits into from
Sep 8, 2024

Conversation

veehaitch
Copy link
Member

No description provided.

@veehaitch veehaitch enabled auto-merge (squash) September 3, 2024 06:40
@veehaitch veehaitch merged commit e355b35 into main Sep 8, 2024
5 checks passed
@veehaitch veehaitch deleted the static-build branch September 8, 2024 09:04
veehaitch pushed a commit that referenced this pull request 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.
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