-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
2024-08-19/01: add output of toolchain directory
- Loading branch information
1 parent
9f7b914
commit 3d59a07
Showing
1 changed file
with
21 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,7 +53,27 @@ e.g.: `GOTOOLCHAIN=1.23` | |
+ There is also `<name>+auto` and `path` options, that can be seen in the | ||
docs | ||
- The downloaded toolchains go to whatever your `GOPATH` is, inside | ||
`golang.org/toolchain` module, and version `v0.0.1-goVERSION.GOOS-GOARCH`. | ||
`golang.org/toolchain` module, and version `v0.0.1-goVERSION.GOOS-GOARCH`, for | ||
example: | ||
|
||
```console | ||
$ ls -lah $GOPATH/pkg/mod/golang.org/[email protected] | ||
total 64 | ||
dr-xr-xr-x 14 user staff 448B 19 Aug 12:01 . | ||
drwxr-xr-x 4 user staff 128B 19 Aug 12:01 .. | ||
-r--r--r-- 1 user staff 1.3K 19 Aug 12:01 CONTRIBUTING.md | ||
-r--r--r-- 1 user staff 1.4K 19 Aug 12:01 LICENSE | ||
-r--r--r-- 1 user staff 1.3K 19 Aug 12:01 PATENTS | ||
-r--r--r-- 1 user staff 1.4K 19 Aug 12:01 README.md | ||
-r--r--r-- 1 user staff 426B 19 Aug 12:01 SECURITY.md | ||
-r--r--r-- 1 user staff 35B 19 Aug 12:01 VERSION | ||
dr-xr-xr-x 4 user staff 128B 19 Aug 12:01 bin | ||
-r--r--r-- 1 user staff 52B 19 Aug 12:01 codereview.cfg | ||
-r--r--r-- 1 user staff 505B 19 Aug 12:01 go.env | ||
dr-xr-xr-x 3 user staff 96B 19 Aug 12:01 lib | ||
dr-xr-xr-x 4 user staff 128B 19 Aug 12:01 pkg | ||
dr-xr-xr-x 77 user staff 2.4K 19 Aug 12:02 src | ||
``` | ||
|
||
By the way, this only works well because Go binaries are static, one of the | ||
things that make the language [reasonable | ||
|