From: Jay Conrod GOOS=nacl
).
The runtime now respects zone CPU caps
(the zone.cpu-cap
resource control)
@@ -174,7 +176,8 @@ TODO
go
list
-m
no longer silently omits
transitive dependencies that do not provide packages in
the vendor
directory. It now fails explicitly if
- -mod=vendor
is set.
+ -mod=vendor
is set and information is requested for a module not
+ mentioned in vendor/modules.txt
.
-modfile=file
is a new flag that instructs the go
- command to read (and possibly write) an alternate go.mod file instead of the
- one in the module root directory. A file named "go.mod" must still be present
- in order to determine the module root directory, but it is not
- accessed. When -modfile
is specified, an alternate go.sum file
- is also used: its path is derived from the -modfile
flag by
- trimming the ".mod" extension and appending ".sum".
+ command to read (and possibly write) an alternate go.mod
file
+ instead of the one in the module root directory. A file
+ named go.mod
must still be present in order to determine the
+ module root directory, but it is not accessed. When -modfile
is
+ specified, an alternate go.sum
file is also used: its path is
+ derived from the -modfile
flag by trimming the .mod
+ extension and appending .sum
.
go
get
continues to work as before, as do
go
mod
download
and
- go
list
-m
with explicit version
- patterns.
+ go
list
-m
with explicit versions.
+incompatible
versions
When -mod=readonly
is set, go
commands will no
- longer fail due to a missing go
directive or erroneous
- // indirect
comment.
+ longer fail due to a missing go
directive or an erroneous
+ // indirect
comment.