From: Joel Sing Date: Fri, 24 Jan 2020 15:39:59 +0000 (+1100) Subject: vendor: provide golang.org/x/sys/cpu/cpu_riscv64.go X-Git-Tag: go1.14rc1~61 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=bcd50e4cd0e308c05fb52b35431c454d9cb07fff;p=gostls13.git vendor: provide golang.org/x/sys/cpu/cpu_riscv64.go Manually provide golang.org/x/sys/cpu/cpu_riscv64.go until such time as this code can be updated, post release. This already exists in x/sys/cpu via: https://go-review.googlesource.com/c/sys/+/206860 Update #27532 Change-Id: I57d598ef737642f9c3aa7b280c6c680477ae7633 Reviewed-on: https://go-review.googlesource.com/c/go/+/216261 Reviewed-by: Brad Fitzpatrick --- diff --git a/src/vendor/golang.org/x/sys/cpu/cpu_riscv64.go b/src/vendor/golang.org/x/sys/cpu/cpu_riscv64.go new file mode 100644 index 0000000000..fe9feb7980 --- /dev/null +++ b/src/vendor/golang.org/x/sys/cpu/cpu_riscv64.go @@ -0,0 +1,11 @@ +// Copyright 2020 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +// +build riscv64 + +package cpu + +const cacheLineSize = 32 + +func doinit() {}