mirror of
https://github.com/minio/minio.git
synced 2025-02-26 12:59:17 -05:00
Add riscv64 support (#14601)
In riscv64, the `syscall.Uname` function will return a uint8 slice. func main() { var buf syscall.Utsname fmt.Printf("Buffer Type: %T\n", buf.Release) } output: Buffer Type: [65]uint8 This is tested in the Arch Linux RISC-V 64 QEMU environment. Signed-off-by: Avimitin <avimitin@gmail.com>
This commit is contained in:
parent
2ac54e5a7b
commit
fb9b53026d
@ -15,8 +15,8 @@
|
|||||||
// You should have received a copy of the GNU Affero General Public License
|
// You should have received a copy of the GNU Affero General Public License
|
||||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
//go:build (linux && arm) || (linux && ppc64) || (linux && ppc64le) || (linux && s390x)
|
//go:build (linux && arm) || (linux && ppc64) || (linux && ppc64le) || (linux && s390x)|| (linux && riscv64)
|
||||||
// +build linux,arm linux,ppc64 linux,ppc64le linux,s390x
|
// +build linux,arm linux,ppc64 linux,ppc64le linux,s390x linux,riscv64
|
||||||
|
|
||||||
package kernel
|
package kernel
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user