Skip to content

Commit

Permalink
Merge pull request #6 from EarthCompass/fix_musl
Browse files Browse the repository at this point in the history
Make cargo produce statically linked binary ELFs
  • Loading branch information
black-binary authored Dec 22, 2023
2 parents d25cda5 + 389cc2f commit 6be8295
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[target.'cfg(target_env = "musl")']
rustflags = ["-C", "target-feature=+crt-static"]
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
# Sequence of patterns matched against refs/tags
tags:
- "v*"

- "test-release"
env:
GITHUB_TOKEN: ${{ github.token }}
RUST_BACKTRACE: 1
Expand Down

0 comments on commit 6be8295

Please sign in to comment.