From 60beb1a99509b6cab2810aad3bac3584652f010d Mon Sep 17 00:00:00 2001 From: leo60228 Date: Wed, 15 Sep 2021 15:17:40 -0400 Subject: [PATCH] Don't use host linker for switch --- src/bootstrap/util.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bootstrap/util.rs b/src/bootstrap/util.rs index c5d62a8810a..1895e290148 100644 --- a/src/bootstrap/util.rs +++ b/src/bootstrap/util.rs @@ -298,7 +298,8 @@ pub fn use_host_linker(target: TargetSelection) -> bool { || target.contains("nvptx") || target.contains("fortanix") || target.contains("fuchsia") - || target.contains("bpf")) + || target.contains("bpf") + || target.contains("switch")) } pub fn is_valid_test_suite_arg<'a, P: AsRef>(