github.com/primecitizens/pcz/std@v0.2.1/rt0/os_noos.go (about)

     1  // SPDX-License-Identifier: Apache-2.0
     2  // Copyright 2023 The Prime Citizens
     3  
     4  //go:build noos
     5  
     6  package rt0
     7  
     8  import (
     9  	_ "unsafe" // for go:linkname
    10  
    11  	"github.com/primecitizens/pcz/std/core/alloc"
    12  )
    13  
    14  var _alloc alloc.DenyNoneZero
    15  
    16  func malloc() alloc.M { return &_alloc }
    17  func palloc() alloc.P { return &_alloc }
    18  
    19  //go:linkname exit0 main.exit0
    20  func exit0()