- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for ModInfoProg (0.14 sec)
-
src/cmd/go/internal/modload/build.go
func findModule(ld *loader, path string) (module.Version, bool) { if pkg, ok := ld.pkgCache.Get(path); ok { return pkg.mod, pkg.mod != module.Version{} } return module.Version{}, false } func ModInfoProg(info string, isgccgo bool) []byte { // Inject an init function to set runtime.modinfo. // This is only used for gccgo - with gc we hand the info directly to the linker.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 16 16:56:39 UTC 2024 - 13.3K bytes - Viewed (0) -
src/cmd/go/internal/work/exec.go
if pgoProfile != "" { return fmt.Errorf("action contains multiple PGO profile dependencies") } pgoProfile = a1.built } if p.Internal.BuildInfo != nil && cfg.ModulesEnabled { prog := modload.ModInfoProg(p.Internal.BuildInfo.String(), cfg.BuildToolchainName == "gccgo") if len(prog) > 0 { if err := sh.writeFile(objdir+"_gomod_.go", prog); err != nil { return err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 14:46:37 UTC 2024 - 105.6K bytes - Viewed (0) -
src/runtime/proc.go
"internal/goarch" "internal/goos" "internal/runtime/atomic" "internal/runtime/exithook" "internal/stringslite" "runtime/internal/sys" "unsafe" ) // set using cmd/go/internal/modload.ModInfoProg var modinfo string // Goroutine scheduler // The scheduler's job is to distribute ready-to-run goroutines over worker threads. // // The main concepts are: // G - goroutine. // M - worker thread, or machine.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 207.5K bytes - Viewed (0)