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...@@ -115,7 +115,7 @@ To quickly test a change to a file in the standard library, you can run zig test
115115
116#### Testing Non-Native Architectures with QEMU116#### 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`.
119This provides test coverage for, e.g. aarch64 even on x86_64 machines. It's 119This provides test coverage for, e.g. aarch64 even on x86_64 machines. It's
120recommended for Linux users to install qemu and enable this testing option120recommended for Linux users to install qemu and enable this testing option
121when editing the standard library or anything related to a non-native121when editing the standard library or anything related to a non-native
...@@ -124,7 +124,7 @@ architecture....@@ -124,7 +124,7 @@ architecture.
124##### glibc124##### glibc
125125
126Testing foreign architectures with dynamically linked glibc is one step trickier.126Testing 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`.
128This path is obtained by building glibc for multiple architectures. This128This path is obtained by building glibc for multiple architectures. This
129process for me took an entire day to complete and takes up 65 GiB on my hard129process for me took an entire day to complete and takes up 65 GiB on my hard
130drive. The CI server does not provide this test coverage. Instructions for130drive. 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....@@ -136,7 +136,7 @@ It's understood that most contributors will not have these tests enabled.
136136
137#### Testing Windows from a Linux Machine with Wine137#### 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`.
140This will enable running behavior tests and std lib tests with Wine. It's140This will enable running behavior tests and std lib tests with Wine. It's
141recommended for Linux users to install Wine and enable this testing option 141recommended for Linux users to install Wine and enable this testing option
142when editing the standard library or anything Windows-related.142when editing the standard library or anything Windows-related.
...@@ -144,7 +144,7 @@ when editing the standard library or anything Windows-related....@@ -144,7 +144,7 @@ when editing the standard library or anything Windows-related.
144#### Testing WebAssembly using wasmtime144#### Testing WebAssembly using wasmtime
145145
146If you have [wasmtime](https://wasmtime.dev/) installed, take advantage of the146If you have [wasmtime](https://wasmtime.dev/) installed, take advantage of the
147`-Denable-wasmtime` flag which will enable running WASI behavior tests and std147`-fwasmtime` flag which will enable running WASI behavior tests and std
148lib tests. It's recommended for all users to install wasmtime and enable this148lib tests. It's recommended for all users to install wasmtime and enable this
149testing option when editing the standard library and especially anything149testing option when editing the standard library and especially anything
150WebAssembly-related.150WebAssembly-related.