Skip to content

Commit 8054df0

Browse files
authored
Fix wasm32-wali-linux-musl target parsing (#1434)
1 parent d2a5991 commit 8054df0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/target/parser.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -386,6 +386,9 @@ impl<'a> TargetInfo<'a> {
386386
// FIXME(madsmtm): Badly named targets `*-linux-android*`,
387387
// "linux" makes no sense as the vendor name.
388388
"linux" if os == "android" || os == "androideabi" => "unknown",
389+
// FIXME(madsmtm): Fix in `rustc` after
390+
// https://github.com/rust-lang/compiler-team/issues/850.
391+
"wali" => "unknown",
389392
// Some Linux distributions set their name as the target vendor,
390393
// so we have to assume that it can be an arbitary string.
391394
vendor => vendor,

0 commit comments

Comments
 (0)