Don't use host linker for switch

This commit is contained in:
leo60228 2021-09-15 15:17:40 -04:00
parent e6aedf6056
commit 60beb1a995
No known key found for this signature in database
GPG Key ID: AC6F4BA078E67833

View File

@ -298,7 +298,8 @@ pub fn use_host_linker(target: TargetSelection) -> bool {
|| target.contains("nvptx") || target.contains("nvptx")
|| target.contains("fortanix") || target.contains("fortanix")
|| target.contains("fuchsia") || target.contains("fuchsia")
|| target.contains("bpf")) || target.contains("bpf")
|| target.contains("switch"))
} }
pub fn is_valid_test_suite_arg<'a, P: AsRef<Path>>( pub fn is_valid_test_suite_arg<'a, P: AsRef<Path>>(