Source file src/runtime/rt0_wasm32.go

     1  // Copyright 2026 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  
     5  //go:build wasm32
     6  
     7  package runtime
     8  
     9  // mainFunc is statically initialized so rt0_go can pass its function value
    10  // to newproc before package initialization runs.
    11  var mainFunc = main
    12  

View as plain text