Skip to content

Commit

Permalink
don't statically link libgit2
Browse files Browse the repository at this point in the history
  • Loading branch information
Lunarequest committed Jan 27, 2024
1 parent 9a15892 commit 267596d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
5 changes: 1 addition & 4 deletions .config/config.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
[target.x86_64-unknown-linux-musl]
rustflags = ["-C", "target-feature=+crt-static"]

[target.x86_64-unknown-linux-gnu]
linker = "clang"
rustflags = ["-C", "link-arg=-fuse-ld=mold"]
rustflags = ["-C", "link-arg=-fuse-ld=mold"]
3 changes: 1 addition & 2 deletions .github/workflows/release-packaging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,9 @@ jobs:
image: rust:alpine
steps:
- uses: actions/checkout@v4

- name: install deps
run:
apk update && apk upgrade && apk add musl-dev libgpg-error-dev libgpg-error-static libassuan-dev libassuan-static http-parser-dev gpg \
apk update && apk upgrade && apk add musl-dev libgpg-error-dev libgpg-error-static libassuan-dev libassuan-static http-parser http-parser-dev gpg \
gpgme gpgme-dev openssl-dev openssl-libs-static libgit2-dev libgit2-static zlib-dev zlib-static

- uses: Swatinem/rust-cache@v2
Expand Down

0 comments on commit 267596d

Please sign in to comment.