We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d069354 commit 862c839Copy full SHA for 862c839
src/bootstrap/sanity.rs
@@ -169,7 +169,7 @@ pub fn check(build: &mut Build) {
169
panic!("the iOS target is only supported on macOS");
170
}
171
172
- if target.starts_with("thumbv") {
+ if target.contains("-none-") {
173
if build.no_std(*target).is_none() {
174
let target = build.config.target_config.entry(target.clone())
175
.or_insert(Default::default());
@@ -178,7 +178,7 @@ pub fn check(build: &mut Build) {
178
179
180
if build.no_std(*target) == Some(false) {
181
- panic!("All the THUMB targets are no-std targets")
+ panic!("All the *-none-* targets are no-std targets")
182
183
184
0 commit comments