Skip to content

Commit

Permalink
fix(cargo): remove mold since it causes rebuilding when build with di…
Browse files Browse the repository at this point in the history
…oxus
  • Loading branch information
vnghia committed Apr 10, 2024
1 parent e4afd91 commit c350f14
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 10 deletions.
4 changes: 0 additions & 4 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#TODO: enable mold for other target
[target.x86_64-unknown-linux-gnu]
rustflags = ["-C", "link-arg=-fuse-ld=mold"]

[target.'cfg(target_env = "musl")']
rustflags = ["-C", "target-feature=+crt-static"]

Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,6 @@ jobs:
EOF
docker restart postgres
- name: Install mold
uses: rui314/setup-mold@v1
- name: Install ffmpeg build deps
run: sudo apt-get --assume-yes install nasm
- name: Install cargo-vcpkg
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,6 @@ jobs:
EOF
docker restart postgres
- name: Setup x64 environment
uses: rui314/setup-mold@v1
if: ${{ matrix.platform.target == 'x86_64-unknown-linux-gnu' }}

- name: Setup arm64 environment
run: |
sudo apt install --assume-yes gcc-aarch64-linux-gnu g++-aarch64-linux-gnu
Expand Down

0 comments on commit c350f14

Please sign in to comment.