]> git.nega.tv - josh/narcissus/commitdiff
Don't need to force clang linker anymore
authorJoshua Simmons <josh@nega.tv>
Sat, 29 Oct 2022 15:03:14 +0000 (17:03 +0200)
committerJoshua Simmons <josh@nega.tv>
Sat, 29 Oct 2022 15:03:14 +0000 (17:03 +0200)
.cargo/config.toml
.github/workflows/rust.yml

index 5c0c649a24fb3da201ccb0baab0d12dddc3785ed..8ad891ea2038203a795e8739c1c346b4a871219c 100644 (file)
@@ -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
index 3a626323b36834f433408fa052cf325fb56931cb..945165b9f12814b355d8181331fd4b8914254d6a 100644 (file)
@@ -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