Skip to content

Commit

Permalink
ci: gba crate is broken due to recent nightly bug
Browse files Browse the repository at this point in the history
rust-lang/rust#127853 (comment)

```
  error[E0736]: attribute incompatible with `#[naked]`
     --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/gba-0.11.6/src/asm_runtime.rs:164:1
      |
  164 | /// Returns 0 in `r0`, while placing the `numerator` into `r1`.
      | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `` attribute is incompatible with `#[naked]`
  ...
  172 | #[naked]
      | -------- function marked with `#[naked]` here
```
  • Loading branch information
taiki-e committed Jul 31, 2024
1 parent 1d5f988 commit 9b4c7b7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,8 @@ build() {
local test_dir=''
# NB: sync with tools/no-std.sh
case "${target}" in
armv4t* | thumbv4t*) test_dir=tests/gba ;;
# TODO: https://github.com/rust-lang/rust/pull/127853#issuecomment-2257323333
# armv4t* | thumbv4t*) test_dir=tests/gba ;;
arm* | thumb* | riscv*) test_dir=tests/no-std-qemu ;;
avr-unknown-gnu-atmega2560) test_dir=tests/avr ;; # tests/avr is for atmega2560 not atmega328
esac
Expand Down

0 comments on commit 9b4c7b7

Please sign in to comment.