authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2021-12-03 16:17:40-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2021-12-03 16:17:40-07:00
log77fc9090d54e9a66223f0e73adfbb7e6b0d30e13
tree13e8a3ed990c71ba81e674efe7c1fa060e6779cd
parent7659229edcc9b0455010188fafdce26ac26de9b2

update CONTRIBUTING.md for zig build CLI changes


1 files changed, 4 insertions(+), 4 deletions(-)

CONTRIBUTING.md+4-4
......@@ -115,7 +115,7 @@ To quickly test a change to a file in the standard library, you can run zig test
115115
116116#### Testing Non-Native Architectures with QEMU
117117
118The Linux CI server additionally has qemu installed and sets `-Denable-qemu`.
118The Linux CI server additionally has qemu installed and sets `-fqemu`.
119119This provides test coverage for, e.g. aarch64 even on x86_64 machines. It's
120120recommended for Linux users to install qemu and enable this testing option
121121when editing the standard library or anything related to a non-native
......@@ -124,7 +124,7 @@ architecture.
124124##### glibc
125125
126126Testing foreign architectures with dynamically linked glibc is one step trickier.
127This requires enabling `-Denable-foreign-glibc=/path/to/glibc/multi/install/glibcs`.
127This requires enabling `--glibc-runtimes /path/to/glibc/multi/install/glibcs`.
128128This path is obtained by building glibc for multiple architectures. This
129129process for me took an entire day to complete and takes up 65 GiB on my hard
130130drive. The CI server does not provide this test coverage. Instructions for
......@@ -136,7 +136,7 @@ It's understood that most contributors will not have these tests enabled.
136136
137137#### Testing Windows from a Linux Machine with Wine
138138
139When developing on Linux, another option is available to you: `-Denable-wine`.
139When developing on Linux, another option is available to you: `-fwine`.
140140This will enable running behavior tests and std lib tests with Wine. It's
141141recommended for Linux users to install Wine and enable this testing option
142142when editing the standard library or anything Windows-related.
......@@ -144,7 +144,7 @@ when editing the standard library or anything Windows-related.
144144#### Testing WebAssembly using wasmtime
145145
146146If you have [wasmtime](https://wasmtime.dev/) installed, take advantage of the
147`-Denable-wasmtime` flag which will enable running WASI behavior tests and std
147`-fwasmtime` flag which will enable running WASI behavior tests and std
148148lib tests. It's recommended for all users to install wasmtime and enable this
149149testing option when editing the standard library and especially anything
150150WebAssembly-related.