Skip to content

Commit

Permalink
Add .cargo/config.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
pka committed Oct 3, 2024
1 parent 99d42fd commit 7d1258d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[target.aarch64-unknown-linux-gnu]
linker = "aarch64-linux-gnu-gcc"
#rustflags = ["-L", "/usr/aarch64-redhat-linux/sys-root/fc40/usr/lib64/"]
2 changes: 0 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,6 @@ 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

0 comments on commit 7d1258d

Please sign in to comment.