Skip to content

Commit f01a291

Browse files
authored
Merge pull request #536 from Freax13/fix/ci-static-relocation
don't pass -Crelocation-model=static to host targets
2 parents be15a1e + c47d970 commit f01a291

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/build.yml

+3-4
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,6 @@ jobs:
8989
runs-on: ${{ matrix.platform }}
9090
timeout-minutes: 15
9191

92-
env:
93-
RUSTFLAGS: -Crelocation-model=static -Dwarnings
94-
9592
steps:
9693
- name: "Checkout Repository"
9794
uses: actions/checkout@v4
@@ -137,9 +134,11 @@ jobs:
137134
run: qemu-system-x86_64 --version
138135

139136
- name: "Run Test Framework"
140-
run: cargo test
137+
run: cargo test --target x86_64-unknown-none
141138
shell: bash
142139
working-directory: "testing"
140+
env:
141+
RUSTFLAGS: -Crelocation-model=static -Dwarnings
143142

144143
check_formatting:
145144
name: "Check Formatting"

0 commit comments

Comments
 (0)