mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 08:11:33 +11:00
switch to using the rust built in target
This commit is contained in:
parent
0a991af2e9
commit
8db2617722
|
@ -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"
|
||||
}
|
4
justfile
4
justfile
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue