Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
this PR is going to fix a bug that github action will not create aarch arm64 tar file correctly.
you can see the error here https://github.com/ellie/atuin/actions/runs/4584398463/jobs/8095857446
how to fix
the first commit will fix this problem. just add a RUSTFLAGS to set linker aarch64-linux-gnu-gcc
RUSTFLAGS=-C linker=aarch64-linux-gnu-gcc
the second commit is to bypass generate completion job because you can't run arm format on a Github hosted runner which is x86-64. we need to discuss how to fix the completion file.
here's result:
FYI:
https://crates.io/crates/grb/1.3.0
https://users.rust-lang.org/t/unable-to-compile-to-aarch64-unknown-linux-gnu/53517