diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5df0c7b..1a72516 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 diff --git a/Cargo.toml b/Cargo.toml index e01d2dd..7340e44 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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