Skip to content

Commit 5a9fb37

Browse files
committed
Add support for NetBSD/riscv64 aka. riscv64gc-unknown-netbsd.
1 parent c95ee77 commit 5a9fb37

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

core/src/ffi/mod.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,12 @@ mod c_char_definition {
132132
),
133133
all(
134134
target_os = "netbsd",
135-
any(target_arch = "aarch64", target_arch = "arm", target_arch = "powerpc")
135+
any(
136+
target_arch = "aarch64",
137+
target_arch = "arm",
138+
target_arch = "powerpc",
139+
target_arch = "riscv64"
140+
)
136141
),
137142
all(
138143
target_os = "vxworks",

0 commit comments

Comments
 (0)