github.com/tinygo-org/tinygo@v0.31.3-0.20240404173401-90b0bf646c27/src/runtime/extern.go (about)

     1  package runtime
     2  
     3  func Callers(skip int, pc []uintptr) int {
     4  	return 0
     5  }
     6  
     7  // buildVersion is the Tinygo tree's version string at build time.
     8  //
     9  // This is set by the linker.
    10  var buildVersion string
    11  
    12  // Version returns the Tinygo tree's version string.
    13  // It is the same as goenv.Version().
    14  func Version() string {
    15  	return buildVersion
    16  }