Skip to content

Commit

Permalink
Set RUSTFLAGS for aarch64-unknown-linux-gnu build
Browse files Browse the repository at this point in the history
  • Loading branch information
pka committed Oct 3, 2024
1 parent 183a3d5 commit 4491111
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
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
3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name = "shell-compose"
version = "0.1.1"
readme = "README.md"
description = "Lightweight background process runner for long-running or scheduled tasks"
categories = ["command-line-utilities"]
keywords = ["shell", "command", "parallel", "task", "runner"]
authors = ["Pirmin Kalberer <[email protected]>"]
homepage = "https://github.com/pka/shell-compose"
repository = "https://github.com/pka/shell-compose"
Expand Down Expand Up @@ -54,3 +56,4 @@ targets = ["aarch64-apple-darwin", "aarch64-unknown-linux-gnu", "x86_64-apple-da
install-path = "CARGO_HOME"
# Whether to install an updater program
install-updater = true

0 comments on commit 4491111

Please sign in to comment.