Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/target/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,10 @@ fn parse_arch(full_arch: &str) -> Option<&str> {
"s390x" => "s390x",
"xtensa" => "xtensa",

// Arches supported by gcc, but not LLVM.
arch if arch.starts_with("alpha") => "alpha", // DEC Alpha
"hppa" => "hppa", // https://en.wikipedia.org/wiki/PA-RISC, also known as HPPA
arch if arch.starts_with("sh") => "sh", // SuperH
_ => return None,
})
}
Expand Down
Loading