unsafe_linkname.s 484 B

1234567891011
  1. // unsafe_linkname.s - go:linkname workaround
  2. //
  3. // To the extent possible under law, Yawning Angel has waived all copyright
  4. // and related or neighboring rights to the software, using the Creative
  5. // Commons "CC0" public domain dedication. See LICENSE or
  6. // <http://creativecommons.org/publicdomain/zero/1.0/> for full details.
  7. // +build !noasm,!appengine
  8. // The `go:linkname` pragma does not work without an empty assembly file.
  9. // See: https://github.com/golang/go/issues/15006.