-
Notifications
You must be signed in to change notification settings - Fork 0
Global Options
Wesley Koerber edited this page Aug 17, 2024
·
3 revisions
Option | Description |
---|---|
-t, --target |
Override the default Zig target |
-v |
Enable verbose output |
-vv |
Enable more verbose output |
--version |
Print the version and exit |
Override the Zig target.
By default, uname
is used to determine the native target of your operating system. This works well on Linux. However, on Windows - specifically using msys
, which is used by git-bash
- uname
reports the name of the subsystem:
$ uname -o
Msys
$ uname -s
MINGW64_NT-10.0-22631
In order to override this, the --target, -t
option may be used to tell zvm
which Zig build to fetch:
$ zvm --target x86_64-windows
Note that zvm
does this automatically now (see #16).
Enables verbose output. If you're debugging zvm
, or you're interested to see what zvm
is doing, this is a useful option to use.
Like -v
, but enables even more verbosity.
Prints the version and exits.