Skip to content

Commit

Permalink
test: replace x86_64-bare-metal.json with x86_64-unknown-none
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Kröning <[email protected]>
  • Loading branch information
mkroening committed Apr 5, 2024
1 parent 2fbdc11 commit d3b9c05
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 32 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ jobs:

- uses: dtolnay/rust-toolchain@nightly
with:
targets: x86_64-unknown-none
components: rust-src, llvm-tools
- name: "Install bootimage"
run: cargo install bootimage --debug --root binaries
Expand Down Expand Up @@ -126,7 +127,7 @@ jobs:
run: qemu-system-x86_64 --version

- name: "Run Test Framework"
run: cargo test -Zbuild-std=core -Zbuild-std-features=compiler-builtins-mem
run: cargo test
shell: bash
working-directory: "testing"

Expand Down
3 changes: 2 additions & 1 deletion testing/.cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[build]
target = "x86_64-bare-metal.json"
target = "x86_64-unknown-none"
rustflags = ["-Crelocation-model=static"]

[target.'cfg(target_os = "none")']
runner = "bootimage runner"
30 changes: 0 additions & 30 deletions testing/x86_64-bare-metal.json

This file was deleted.

0 comments on commit d3b9c05

Please sign in to comment.