mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 16:21:11 +00:00
swap x86 and x86_64
This commit is contained in:
parent
868e9392b1
commit
f38f57e078
1 changed files with 2 additions and 2 deletions
|
@ -77,8 +77,8 @@ pub fn arch_str(target: &Triple) -> &'static str {
|
||||||
//
|
//
|
||||||
// https://stackoverflow.com/questions/15036909/clang-how-to-list-supported-target-architectures
|
// https://stackoverflow.com/questions/15036909/clang-how-to-list-supported-target-architectures
|
||||||
match target.architecture {
|
match target.architecture {
|
||||||
Architecture::X86_64 if cfg!(feature = "target-x86") => "x86-64",
|
Architecture::X86_64 if cfg!(feature = "target-x86_64") => "x86-64",
|
||||||
Architecture::X86_32(_) if cfg!(feature = "target-x86_64") => "x86",
|
Architecture::X86_32(_) if cfg!(feature = "target-x86") => "x86",
|
||||||
Architecture::Aarch64(_) if cfg!(feature = "target-aarch64") => "aarch64",
|
Architecture::Aarch64(_) if cfg!(feature = "target-aarch64") => "aarch64",
|
||||||
Architecture::Arm(_) if cfg!(feature = "target-arm") => "arm",
|
Architecture::Arm(_) if cfg!(feature = "target-arm") => "arm",
|
||||||
Architecture::Wasm32 if cfg!(feature = "target-webassembly") => "wasm32",
|
Architecture::Wasm32 if cfg!(feature = "target-webassembly") => "wasm32",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue