switch to using the rust built in target

This commit is contained in:
Corwin 2022-08-23 12:44:54 +01:00
parent 0a991af2e9
commit 8db2617722
2 changed files with 2 additions and 25 deletions

View file

@ -1,23 +0,0 @@
{
"arch": "arm",
"asm-args": [
"-mthumb-interwork",
"-march=armv4t",
"-mcpu=arm7tdmi",
"-mlittle-endian"
],
"atomic-cas": false,
"data-layout": "e-m:e-p:32:32-Fi8-i64:64-v128:64:128-a:0:32-n32-S64",
"emit-debug-gdb-scripts": false,
"executables": true,
"features": "+soft-float,+strict-align",
"has-thumb-interworking": true,
"linker": "arm-none-eabi-ld",
"linker-flavor": "ld",
"linker-is-gnu": true,
"llvm-target": "armv4t-none-eabi",
"main-needs-argc-argv": false,
"panic-strategy": "abort",
"relocation-model": "static",
"target-pointer-width": "32"
}

View file

@ -106,12 +106,12 @@ _test-release crate:
just _build-release {{crate}}
(cd "{{crate}}" && cargo test --release)
_test-release-arm crate:
(cd "{{crate}}" && cargo test --release --target="{{justfile_directory()+"/armv4t-none-eabi.json"}}")
(cd "{{crate}}" && cargo test --release --target=armv4t-none-eabi)
_test-debug crate:
just _build-debug {{crate}}
(cd "{{crate}}" && cargo test)
_test-debug-arm crate:
(cd "{{crate}}" && cargo test --release --target="{{justfile_directory()+"/armv4t-none-eabi.json"}}")
(cd "{{crate}}" && cargo test --release --target=armv4t-none-eabi)
_clippy crate:
(cd "{{crate}}" && cargo clippy --examples --tests -- {{CLIPPY_ARGUMENTS}})
_clean crate: