| ... | @@ -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 |
| 115 | | 115 | |
| 116 | #### Testing Non-Native Architectures with QEMU | 116 | #### Testing Non-Native Architectures with QEMU |
| 117 | | 117 | |
| 118 | The Linux CI server additionally has qemu installed and sets `-Denable-qemu`. | 118 | The Linux CI server additionally has qemu installed and sets `-fqemu`. |
| 119 | This provides test coverage for, e.g. aarch64 even on x86_64 machines. It's | 119 | This provides test coverage for, e.g. aarch64 even on x86_64 machines. It's |
| 120 | recommended for Linux users to install qemu and enable this testing option | 120 | recommended for Linux users to install qemu and enable this testing option |
| 121 | when editing the standard library or anything related to a non-native | 121 | when editing the standard library or anything related to a non-native |
| ... | @@ -124,7 +124,7 @@ architecture. | ... | @@ -124,7 +124,7 @@ architecture. |
| 124 | ##### glibc | 124 | ##### glibc |
| 125 | | 125 | |
| 126 | Testing foreign architectures with dynamically linked glibc is one step trickier. | 126 | Testing foreign architectures with dynamically linked glibc is one step trickier. |
| 127 | This requires enabling `-Denable-foreign-glibc=/path/to/glibc/multi/install/glibcs`. | 127 | This requires enabling `--glibc-runtimes /path/to/glibc/multi/install/glibcs`. |
| 128 | This path is obtained by building glibc for multiple architectures. This | 128 | This path is obtained by building glibc for multiple architectures. This |
| 129 | process for me took an entire day to complete and takes up 65 GiB on my hard | 129 | process for me took an entire day to complete and takes up 65 GiB on my hard |
| 130 | drive. The CI server does not provide this test coverage. Instructions for | 130 | drive. 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. |
| 136 | | 136 | |
| 137 | #### Testing Windows from a Linux Machine with Wine | 137 | #### Testing Windows from a Linux Machine with Wine |
| 138 | | 138 | |
| 139 | When developing on Linux, another option is available to you: `-Denable-wine`. | 139 | When developing on Linux, another option is available to you: `-fwine`. |
| 140 | This will enable running behavior tests and std lib tests with Wine. It's | 140 | This will enable running behavior tests and std lib tests with Wine. It's |
| 141 | recommended for Linux users to install Wine and enable this testing option | 141 | recommended for Linux users to install Wine and enable this testing option |
| 142 | when editing the standard library or anything Windows-related. | 142 | when 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 wasmtime | 144 | #### Testing WebAssembly using wasmtime |
| 145 | | 145 | |
| 146 | If you have [wasmtime](https://wasmtime.dev/) installed, take advantage of the | 146 | If 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 |
| 148 | lib tests. It's recommended for all users to install wasmtime and enable this | 148 | lib tests. It's recommended for all users to install wasmtime and enable this |
| 149 | testing option when editing the standard library and especially anything | 149 | testing option when editing the standard library and especially anything |
| 150 | WebAssembly-related. | 150 | WebAssembly-related. |