"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/cmd/go/internal/modcmd/tidy.go" between
go1.16.4.src.tar.gz and go1.16.5.src.tar.gz

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

tidy.go  (go1.16.4.src):tidy.go  (go1.16.5.src)
skipping to change at line 64 skipping to change at line 64
// dependencies). // dependencies).
// //
// However, with lazy loading (go 1.16+) 'all' includes only the packages that // However, with lazy loading (go 1.16+) 'all' includes only the packages that
// are transitively imported by the main module, not the test dependencie s of // are transitively imported by the main module, not the test dependencie s of
// those packages. In order to make 'go test' reproducible for the packag es // those packages. In order to make 'go test' reproducible for the packag es
// that are in 'all' but outside of the main module, we must explicitly // that are in 'all' but outside of the main module, we must explicitly
// request that their test dependencies be included. // request that their test dependencies be included.
modload.ForceUseModules = true modload.ForceUseModules = true
modload.RootMode = modload.NeedRoot modload.RootMode = modload.NeedRoot
modload.CheckTidyVersion(ctx, tidyE)
modload.LoadPackages(ctx, modload.PackageOpts{ modload.LoadPackages(ctx, modload.PackageOpts{
Tags: imports.AnyTags(), Tags: imports.AnyTags(),
ResolveMissingImports: true, ResolveMissingImports: true,
LoadTests: true, LoadTests: true,
AllowErrors: tidyE, AllowErrors: tidyE,
SilenceMissingStdImports: true, SilenceMissingStdImports: true,
}, "all") }, "all")
modload.TidyBuildList() modload.TidyBuildList()
modload.TrimGoSum() modload.TrimGoSum()
 End of changes. 1 change blocks. 
0 lines changed or deleted 2 lines changed or added

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