Repository navigation
Commit 2265a5b
doc(cliopts): say what -loader does when nothing is passed
The help defined "auto" as picking "own" where there is no exec, and left the
reader to chain that with the default to work out what a plain run gets. It
reads as though "own" were the default, which it is on no native build.
It now leads with the answer, and stays true of the WebAssembly build that
prints the same string: "auto" runs go list wherever a subprocess can be
started, which is every native build, and uses "own" only where one cannot.
The same two-hop wording sat in three documented flag tables. The WASI one now
says the thing that is peculiar to it -- there, "auto" and "own" are the same
choice, and "go" is refused up front rather than failing inside the go command.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Signed-off-by: Frederic BIDON <fredbi@yahoo.com>1 parent 4004501 commit 2265a5b
4 files changed
Lines changed: 14 additions & 6 deletions
File tree
- cmd
- genspec-wasi
- internal/cliopts
- docs/doc-site
- getting-started
- usage
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
22 | 29 | | |
23 | 30 | | |
24 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
55 | | - | |
56 | | - | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
57 | 58 | | |
58 | 59 | | |
59 | 60 | | |
| |||
0 commit comments