Skip to content

Commit 9389237

Browse files
committed
Modify svd2rust-regress with nightly changes
1 parent 1dd1003 commit 9389237

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

ci/svd2rust-regress/src/svd_test.rs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ use std::process::{Command, Output};
77

88
const CRATES_ALL: &[&str] = &["critical-section = \"1.0\"", "vcell = \"0.1.2\""];
99
const CRATES_MSP430: &[&str] = &["msp430 = \"0.4.0\"", "msp430-rt = \"0.4.0\""];
10-
const CRATES_MSP430_NIGHTLY: &[&str] = &["portable-atomic = \"0.3.15\""];
10+
const CRATES_NIGHTLY: &[&str] =
11+
&["portable-atomic = { version = \"0.3.15\", default-features = false }"];
1112
const CRATES_CORTEX_M: &[&str] = &["cortex-m = \"0.7.6\"", "cortex-m-rt = \"0.6.13\""];
1213
const CRATES_RISCV: &[&str] = &["riscv = \"0.9.0\"", "riscv-rt = \"0.9.0\""];
1314
const CRATES_XTENSALX: &[&str] = &["xtensa-lx-rt = \"0.9.0\"", "xtensa-lx = \"0.6.0\""];
@@ -137,10 +138,7 @@ pub fn test(
137138
XtensaLX => CRATES_XTENSALX.iter(),
138139
})
139140
.chain(if nightly {
140-
match &t.arch {
141-
Msp430 => CRATES_MSP430_NIGHTLY.iter(),
142-
_ => [].iter(),
143-
}
141+
CRATES_NIGHTLY.iter()
144142
} else {
145143
[].iter()
146144
})

ci/svd2rust-regress/src/tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4195,7 +4195,7 @@ pub const TESTS: &[&TestCase] = &[
41954195
mfgr: TexasInstruments,
41964196
chip: "msp430fr2355",
41974197
svd_url: Some(
4198-
"https://raw.githubusercontent.com/YuhanLiin/msp430fr2355/rt-up/msp430fr2355.svd",
4198+
"https://raw.githubusercontent.com/YuhanLiin/msp430fr2355/master/msp430fr2355.svd",
41994199
),
42004200
should_pass: true,
42014201
run_when: Always,

0 commit comments

Comments
 (0)