Skip to content

Commit

Permalink
Merge pull request #477 from mkroening/config-toml
Browse files Browse the repository at this point in the history
test: replace `x86_64-bare-metal.json` with `x86_64-unknown-none`
  • Loading branch information
phil-opp authored Apr 5, 2024
2 parents b10c098 + d3b9c05 commit b70e8bc
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 23 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,8 @@ jobs:

- uses: dtolnay/rust-toolchain@nightly
with:
targets: x86_64-unknown-none
components: rust-src, llvm-tools
- name: "Install cargo-xbuild"
run: cargo install cargo-xbuild --debug --root binaries
- name: "Install bootimage"
run: cargo install bootimage --debug --root binaries

Expand Down Expand Up @@ -128,7 +127,7 @@ jobs:
run: qemu-system-x86_64 --version

- name: "Run Test Framework"
run: cargo xtest
run: cargo test
shell: bash
working-directory: "testing"

Expand Down
5 changes: 0 additions & 5 deletions testing/.cargo/config

This file was deleted.

6 changes: 6 additions & 0 deletions testing/.cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[build]
target = "x86_64-unknown-none"
rustflags = ["-Crelocation-model=static"]

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

This file was deleted.

0 comments on commit b70e8bc

Please sign in to comment.