From b917e374b68e1425895a70e73eb0288688499340 Mon Sep 17 00:00:00 2001 From: Joshua Simmons Date: Sat, 29 Oct 2022 17:03:14 +0200 Subject: [PATCH] Don't need to force clang linker anymore --- .cargo/config.toml | 1 - .github/workflows/rust.yml | 7 +------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/.cargo/config.toml b/.cargo/config.toml index 5c0c649..8ad891e 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,3 +1,2 @@ [target.x86_64-unknown-linux-gnu] -linker = "clang" rustflags = ["-C", "link-arg=-fuse-ld=mold"] \ No newline at end of file diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 3a62632..945165b 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -15,16 +15,11 @@ jobs: runs-on: ubuntu-latest steps: - - uses: rui314/setup-mold@v1 - with: - make-default: false - name: install_dependencies run: | sudo apt-get update sudo apt-get install libsdl2-dev clang llvm - - uses: actions-rs/toolchain@v1 - with: - toolchain: stable + - uses: rui314/setup-mold@v1 - uses: actions/checkout@v3 - name: Build run: cargo build --verbose -- 2.49.0