Skip to content

Commit d3b9c05

Browse files
committed
test: replace x86_64-bare-metal.json with x86_64-unknown-none
Signed-off-by: Martin Kröning <[email protected]>
1 parent 2fbdc11 commit d3b9c05

File tree

3 files changed

+4
-32
lines changed

3 files changed

+4
-32
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ jobs:
9898

9999
- uses: dtolnay/rust-toolchain@nightly
100100
with:
101+
targets: x86_64-unknown-none
101102
components: rust-src, llvm-tools
102103
- name: "Install bootimage"
103104
run: cargo install bootimage --debug --root binaries
@@ -126,7 +127,7 @@ jobs:
126127
run: qemu-system-x86_64 --version
127128

128129
- name: "Run Test Framework"
129-
run: cargo test -Zbuild-std=core -Zbuild-std-features=compiler-builtins-mem
130+
run: cargo test
130131
shell: bash
131132
working-directory: "testing"
132133

testing/.cargo/config.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[build]
2-
target = "x86_64-bare-metal.json"
2+
target = "x86_64-unknown-none"
3+
rustflags = ["-Crelocation-model=static"]
34

45
[target.'cfg(target_os = "none")']
56
runner = "bootimage runner"

testing/x86_64-bare-metal.json

Lines changed: 0 additions & 30 deletions
This file was deleted.

0 commit comments

Comments
 (0)