about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAntoni Boucher <bouanto@zoho.com>2025-07-01 19:03:08 -0400
committerAntoni Boucher <bouanto@zoho.com>2025-07-01 19:10:45 -0400
commit89f0cb3bfc97473a33cb5ae073be6073fa0931b9 (patch)
treef9d9b9a19d0f1e059a43257b223da85d1576251d
parent1bbe5946f231b4c05818fb18f9252b68af251498 (diff)
downloadrust-89f0cb3bfc97473a33cb5ae073be6073fa0931b9.tar.gz
rust-89f0cb3bfc97473a33cb5ae073be6073fa0931b9.zip
Specify linker in m68k CI
-rw-r--r--.github/workflows/m68k.yml4
1 files changed, 1 insertions, 3 deletions
diff --git a/.github/workflows/m68k.yml b/.github/workflows/m68k.yml
index 04e09dc7b8c..249fb965be1 100644
--- a/.github/workflows/m68k.yml
+++ b/.github/workflows/m68k.yml
@@ -63,8 +63,6 @@ jobs:
     - name: Set env
       run: |
         echo "workspace="$GITHUB_WORKSPACE >> $GITHUB_ENV
-        
-        
 
     #- name: Cache rust repository
       ## We only clone the rust repository for rustc tests
@@ -85,7 +83,7 @@ jobs:
       run: |
         ./y.sh prepare --only-libcore --cross
         ./y.sh build --sysroot --features compiler_builtins/no-f16-f128 --target-triple m68k-unknown-linux-gnu --target ${{ github.workspace }}/target_specs/m68k-unknown-linux-gnu.json
-        ./y.sh cargo build --manifest-path=./tests/hello-world/Cargo.toml --target ${{ github.workspace }}/target_specs/m68k-unknown-linux-gnu.json
+        CG_RUSTFLAGS="-Clinker=m68k-unknown-linux-gnu-gcc" ./y.sh cargo build --manifest-path=./tests/hello-world/Cargo.toml --target ${{ github.workspace }}/target_specs/m68k-unknown-linux-gnu.json
         ./y.sh clean all
 
     - name: Build