mirror of
https://github.com/golang/sys.git
synced 2026-02-08 03:36:03 +03:00
44366790d78c5496d623abcdfe122f36b1ac1e40
This copies http://golang.org/cl/8723 from the syscall package. Quoting the original CL: This is clumsy, but currently cover tool fails as: $ go test -run=none -cover syscall syscall_linux_amd64.go:15: can only use //go:noescape with external func imp FAIL syscall [build failed] This happens because cover tool mishandles //go: comments. r and gri said that fixing cover is infeasible due to go/ast limitations. So at least fix the offending code so that coverage works. This come up in context of coverage-guided fuzzing which works best with program-wide coverage. Change-Id: Id9e243968a4eb7ae75a585877fdf3192c89e419c Reviewed-on: https://go-review.googlesource.com/10035 Reviewed-by: Rob Pike <r@golang.org>
This repository holds supplemental Go packages for low-level interactions with the operating system. To submit changes to this repository, see http://golang.org/doc/contribute.html.
Description
Languages
Go
85.8%
Assembly
12.3%
Shell
1.7%
C
0.1%