github.com/primecitizens/pcz/std@v0.2.1/core/mark/internal/atomic/doc.go (about)

     1  // SPDX-License-Identifier: Apache-2.0
     2  // Copyright 2023 The Prime Citizens
     3  
     4  package atomic
     5  
     6  // NOTE: `align64` MUST be in either runtime/internal/atomic or sync/atomic,
     7  // as compiler special case this type.
     8  //
     9  // See $GOROOT/src/cmd/compile/internal/types/size.go#func:calcStructOffset
    10  //
    11  //pcz:importpath sync/atomic
    12  
    13  // align64 may be added to structs that must be 64-bit aligned.
    14  // This struct is recognized by a special case in the compiler
    15  // and will not work if copied to any other package.
    16  type align64 struct{}
    17  
    18  type Align64 = align64