Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ModInfoProg (0.1 sec)

  1. 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)
Back to top