Skip to content

Commit b521491

Browse files
Fix thumb target CI
1 parent 31dd4f4 commit b521491

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

src/test/run-make/thumb-none-cortex-m/Makefile

+3-5
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,7 @@
1010
# - thumbv7em-none-eabihf (Bare Cortex-M4F, M7F, FPU, hardfloat)
1111
# - thumbv7m-none-eabi (Bare Cortex-M3)
1212

13-
# only-thumbv6m-none-eabi
14-
# only-thumbv7em-none-eabi
15-
# only-thumbv7em-none-eabihf
16-
# only-thumbv7m-none-eabi
13+
# only-thumb
1714

1815
# For cargo setting
1916
RUSTC := $(RUSTC_ORIGINAL)
@@ -27,7 +24,8 @@ CRATE := cortex-m
2724
CRATE_URL := https://github.com/rust-embedded/cortex-m
2825
CRATE_SHA1 := a448e9156e2cb1e556e5441fd65426952ef4b927 # 0.5.0
2926

30-
export RUSTFLAGS := --cap-lints=allow
27+
# Don't make lints fatal, but they need to at least warn or they break Cargo's target info parsing.
28+
export RUSTFLAGS := --cap-lints=warn
3129

3230
all:
3331
env

src/test/run-make/thumb-none-qemu/Makefile

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
-include ../../run-make-fulldeps/tools.mk
22

3-
# only-thumbv7m-none-eabi
4-
# only-thumbv6m-none-eabi
3+
# only-thumb
54

65
# How to run this
76
# $ ./x.py clean

0 commit comments

Comments
 (0)