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

     1  // SPDX-License-Identifier: Apache-2.0
     2  // Copyright 2023 The Prime Citizens
     3  
     4  package sys
     5  
     6  // NOTE: `nih` MUST be in this exact package (runtime/internal/sys), as compiler
     7  // special case this type.
     8  //
     9  // See $GOROOT/src/cmd/compile/internal/types/size.go#func:CalcSize
    10  //
    11  //pcz:importpath runtime/internal/sys
    12  
    13  // NOTE: keep in sync with cmd/compile/internal/types.CalcSize
    14  // to make the compiler recognize this as an intrinsic type.
    15  type nih struct{}
    16  
    17  type NotInHeap = nih