Skip to content

Commit 18ed3dc

Browse files
target: recognize sh4 architecture in parse_arch() (#1712)
1 parent 33f84c5 commit 18ed3dc

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/target/parser.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ fn parse_arch(full_arch: &str) -> Option<&str> {
168168
arch if arch.starts_with("nvptx") => "nvptx",
169169

170170
arch if arch.starts_with("bpf") => "bpf", // bpfeb | bpfel
171+
arch if arch.starts_with("sh4") => "sh4", // sh4 | sh4-unknown-linux-gnu | sh4-unknown-redox
171172

172173
// https://github.com/bytecodealliance/wasmtime/tree/v30.0.1/pulley
173174
arch if arch.starts_with("pulley64") => "pulley64",

0 commit comments

Comments
 (0)