You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GOOS and GOARCH are not necessarily present in the environment at all,
so overriding them in interp doesn't have a clear purpose, especially
given that CL 495255 no longer overrides them in the build context.
Unfortunately, the fake (reduced) GOROOT/src used for the test also
hard-coded the runtime constants for GOOS and GOARCH. Since in general
the testdata directory is not writable (it may be in the module
cache), we need to copy the fake GOROOT into a testdata directory in
order to modify it.
This change also deletes an unused function that I noticed while
investigating.
Fixesgolang/go#60226 (maybe).
Change-Id: I409292af76d411efb8a3b4ca6d8d929b53325610
Reviewed-on: https://go-review.googlesource.com/c/tools/+/495258
TryBot-Result: Gopher Robot <[email protected]>
Reviewed-by: Robert Findley <[email protected]>
Auto-Submit: Bryan Mills <[email protected]>
gopls-CI: kokoro <[email protected]>
Run-TryBot: Bryan Mills <[email protected]>
0 commit comments