1// Copyright 2020 The Go Authors. All rights reserved. 2// Use of this source code is governed by a BSD-style 3// license that can be found in the LICENSE file. 4 5package atomic 6 7import _ "unsafe" // for go:linkname 8 9// Let the C code call this function. 10//go:linkname panicUnaligned 11 12func panicUnaligned() { 13 panic("unaligned 64-bit atomic operation") 14} 15