"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/cmd/go/internal/run/run.go" between
go1.19.src.tar.gz and go1.19.1.src.tar.gz

About: Google’s Go is a compiled, garbage-collected, concurrent programming language.
Latest stable release (1.19).

run.go  (go1.19.src):run.go  (go1.19.1.src)
skipping to change at line 94 skipping to change at line 94
// for -race and -msan. // for -race and -msan.
modload.ForceUseModules = true modload.ForceUseModules = true
modload.RootMode = modload.NoRoot modload.RootMode = modload.NoRoot
modload.AllowMissingModuleImports() modload.AllowMissingModuleImports()
modload.Init() modload.Init()
} else { } else {
modload.InitWorkfile() modload.InitWorkfile()
} }
work.BuildInit() work.BuildInit()
var b work.Builder b := work.NewBuilder("")
b.Init()
b.Print = printStderr b.Print = printStderr
i := 0 i := 0
for i < len(args) && strings.HasSuffix(args[i], ".go") { for i < len(args) && strings.HasSuffix(args[i], ".go") {
i++ i++
} }
pkgOpts := load.PackageOpts{MainOnly: true} pkgOpts := load.PackageOpts{MainOnly: true}
var p *load.Package var p *load.Package
if i > 0 { if i > 0 {
files := args[:i] files := args[:i]
 End of changes. 1 change blocks. 
2 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)