We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4bc8549 commit bee373cCopy full SHA for bee373c
src/bootstrap/config.rs
@@ -411,7 +411,7 @@ pub struct Target {
411
impl Target {
412
pub fn from_triple(triple: &str) -> Self {
413
let mut target: Self = Default::default();
414
- if triple.contains("-none") || triple.contains("nvptx") {
+ if triple.contains("-none") || triple.contains("nvptx") || triple.contains("switch") {
415
target.no_std = true;
416
}
417
target
0 commit comments