Skip to content

Commit

Permalink
switch custom target JSON test to a less exotic target
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Sep 25, 2024
1 parent b862076 commit 897e941
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 27 deletions.
3 changes: 1 addition & 2 deletions src/tools/miri/ci/ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,7 @@ case $HOST_TARGET in
TEST_TARGET=wasm32-unknown-unknown run_tests_minimal no_std empty_main wasm # this target doesn't really have std
TEST_TARGET=thumbv7em-none-eabihf run_tests_minimal no_std
# Custom target JSON file
# FIXME: disabled due to <https://github.com/rust-lang/rust/issues/130818>.
#TEST_TARGET=tests/avr.json MIRI_NO_STD=1 run_tests_minimal no_std
TEST_TARGET=tests/x86_64-unknown-kernel.json MIRI_NO_STD=1 run_tests_minimal no_std
;;
i686-pc-windows-msvc)
# Host
Expand Down
25 changes: 0 additions & 25 deletions src/tools/miri/tests/avr.json

This file was deleted.

24 changes: 24 additions & 0 deletions src/tools/miri/tests/x86_64-unknown-kernel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"llvm-target": "x86_64-unknown-none",
"target-endian": "little",
"target-pointer-width": "64",
"target-c-int-width": "32",
"data-layout": "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128",
"arch": "x86_64",
"os": "none",
"env": "",
"vendor": "unknown",
"linker": "rust-lld",
"linker-flavor": "gnu-lld",
"features": "-mmx,-sse,-sse2,-sse3,-ssse3,-sse4.1,-sse4.2,-avx,-avx2,+soft-float",
"dynamic-linking": false,
"executables": true,
"relocation-model": "static",
"code-model": "kernel",
"disable-redzone": true,
"frame-pointer": "always",
"exe-suffix": "",
"has-rpath": false,
"no-default-libraries": true,
"position-independent-executables": false
}

0 comments on commit 897e941

Please sign in to comment.