Skip to content

Commit 77e8c6f

Browse files
committed
More riscv64 support
1 parent 2bcd78b commit 77e8c6f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/riscv64.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ function Base.parse(::Type{Platform}, triplet::AbstractString; validate_strict::
9393
# We have no way to test riscv64 features yet, so we're only going to declare the lowest ISA:
9494
"riscv64" => CPUID.ISA(Set{UInt32}()),
9595
]
96-
arch_mapping["riscv64"] = "(rv64|riscv64)"
97-
arch_march_isa_mapping["riscv64"] = ["riscv64" => get_set("riscv64", "riscv64")]
96+
BinaryPlatforms.arch_mapping["riscv64"] = "(rv64|riscv64)"
97+
BinaryPlatforms.arch_march_isa_mapping["riscv64"] = ["riscv64" => get_set("riscv64", "riscv64")]
9898

9999
# Helper function to collapse dictionary of mappings down into a regex of
100100
# named capture groups joined by "|" operators

0 commit comments

Comments
 (0)