From 5b3458a175ceeb183ec5c4aca48f956efdacbb16 Mon Sep 17 00:00:00 2001 From: Mads Marquart Date: Thu, 13 Mar 2025 15:38:43 +0100 Subject: [PATCH] Fix wasm32-wali-linux-musl target parsing --- src/target/parser.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/target/parser.rs b/src/target/parser.rs index ca356be8a..931ad03e3 100644 --- a/src/target/parser.rs +++ b/src/target/parser.rs @@ -386,6 +386,9 @@ impl<'a> TargetInfo<'a> { // FIXME(madsmtm): Badly named targets `*-linux-android*`, // "linux" makes no sense as the vendor name. "linux" if os == "android" || os == "androideabi" => "unknown", + // FIXME(madsmtm): Fix in `rustc` after + // https://github.com/rust-lang/compiler-team/issues/850. + "wali" => "unknown", // Some Linux distributions set their name as the target vendor, // so we have to assume that it can be an arbitary string. vendor => vendor,