Skip to content

Commit

Permalink
Add aarch64-unknown-linux-gnu target
Browse files Browse the repository at this point in the history
  • Loading branch information
pka committed Oct 3, 2024
1 parent b7210a6 commit 99d42fd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,8 @@ jobs:
# Actually do builds and make zips and whatnot
cargo dist build ${{ needs.plan.outputs.tag-flag }} --print=linkage --output-format=json ${{ matrix.dist_args }} > dist-manifest.json
echo "cargo dist ran successfully"
env:
RUSTFLAGS: ${{ contains('aarch64-unknown-linux-gnu', matrix.dist_args) && '--codegen linker=aarch64-linux-gnu-gcc' || '' }}
- id: cargo-dist
name: Post-build
# We force bash here just because github makes it really hard to get values up
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ ci = "github"
# The installers to generate for each app
installers = ["shell", "powershell"]
# Target platforms to build apps for (Rust target-triple syntax)
targets = ["aarch64-apple-darwin", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu", "x86_64-pc-windows-msvc"]
targets = ["aarch64-apple-darwin", "aarch64-unknown-linux-gnu", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu", "x86_64-pc-windows-msvc"]
# Path that installers should place binaries in
install-path = "CARGO_HOME"
# Whether to install an updater program
Expand Down

0 comments on commit 99d42fd

Please sign in to comment.