Skip to content

Commit bee373c

Browse files
committed
Don't build std for switch
1 parent 4bc8549 commit bee373c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bootstrap/config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ pub struct Target {
411411
impl Target {
412412
pub fn from_triple(triple: &str) -> Self {
413413
let mut target: Self = Default::default();
414-
if triple.contains("-none") || triple.contains("nvptx") {
414+
if triple.contains("-none") || triple.contains("nvptx") || triple.contains("switch") {
415415
target.no_std = true;
416416
}
417417
target

0 commit comments

Comments
 (0)