summaryrefslogtreecommitdiff
path: root/vendor/modernc.org/libc/libc_musl_linux_riscv64.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/modernc.org/libc/libc_musl_linux_riscv64.go')
-rw-r--r--vendor/modernc.org/libc/libc_musl_linux_riscv64.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/vendor/modernc.org/libc/libc_musl_linux_riscv64.go b/vendor/modernc.org/libc/libc_musl_linux_riscv64.go
new file mode 100644
index 000000000..3fbf0e7fe
--- /dev/null
+++ b/vendor/modernc.org/libc/libc_musl_linux_riscv64.go
@@ -0,0 +1,12 @@
+// Copyright 2023 The Libc Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+package libc // import "modernc.org/libc"
+
+type long = int64
+
+type ulong = uint64
+
+// RawMem represents the biggest byte array the runtime can handle
+type RawMem [1<<50 - 1]byte