| ... | ... | @@ -30,21 +30,11 @@ stack_check: ?bool, |
| 30 | 30 | sanitize_c: ?bool, |
| 31 | 31 | sanitize_thread: ?bool, |
| 32 | 32 | code_model: std.builtin.CodeModel, |
| 33 | | /// Whether to emit machine code that integrates with Valgrind. |
| 34 | 33 | valgrind: ?bool, |
| 35 | | /// Position Independent Code |
| 36 | 34 | pic: ?bool, |
| 37 | 35 | red_zone: ?bool, |
| 38 | | /// Whether to omit the stack frame pointer. Frees up a register and makes it |
| 39 | | /// more more difficiult to obtain stack traces. Has target-dependent effects. |
| 40 | 36 | omit_frame_pointer: ?bool, |
| 41 | | /// `true` requires a compilation that includes this Module to link libc. |
| 42 | | /// `false` causes a build failure if a compilation that includes this Module would link libc. |
| 43 | | /// `null` neither requires nor prevents libc from being linked. |
| 44 | 37 | link_libc: ?bool, |
| 45 | | /// `true` requires a compilation that includes this Module to link libc++. |
| 46 | | /// `false` causes a build failure if a compilation that includes this Module would link libc++. |
| 47 | | /// `null` neither requires nor prevents libc++ from being linked. |
| 48 | 38 | link_libcpp: ?bool, |
| 49 | 39 | |
| 50 | 40 | /// Symbols to be exported when compiling to WebAssembly. |
| ... | ... | @@ -161,7 +151,13 @@ pub const CreateOptions = struct { |
| 161 | 151 | target: ?std.Build.ResolvedTarget = null, |
| 162 | 152 | optimize: ?std.builtin.OptimizeMode = null, |
| 163 | 153 | |
| 154 | /// `true` requires a compilation that includes this Module to link libc. |
| 155 | /// `false` causes a build failure if a compilation that includes this Module would link libc. |
| 156 | /// `null` neither requires nor prevents libc from being linked. |
| 164 | 157 | link_libc: ?bool = null, |
| 158 | /// `true` requires a compilation that includes this Module to link libc++. |
| 159 | /// `false` causes a build failure if a compilation that includes this Module would link libc++. |
| 160 | /// `null` neither requires nor prevents libc++ from being linked. |
| 165 | 161 | link_libcpp: ?bool = null, |
| 166 | 162 | single_threaded: ?bool = null, |
| 167 | 163 | strip: ?bool = null, |
| ... | ... | @@ -173,11 +169,13 @@ pub const CreateOptions = struct { |
| 173 | 169 | stack_check: ?bool = null, |
| 174 | 170 | sanitize_c: ?bool = null, |
| 175 | 171 | sanitize_thread: ?bool = null, |
| 172 | /// Whether to emit machine code that integrates with Valgrind. |
| 176 | 173 | valgrind: ?bool = null, |
| 174 | /// Position Independent Code |
| 177 | 175 | pic: ?bool = null, |
| 178 | 176 | red_zone: ?bool = null, |
| 179 | 177 | /// Whether to omit the stack frame pointer. Frees up a register and makes it |
| 180 | | /// more more difficiult to obtain stack traces. Has target-dependent effects. |
| 178 | /// more difficult to obtain stack traces. Has target-dependent effects. |
| 181 | 179 | omit_frame_pointer: ?bool = null, |
| 182 | 180 | }; |
| 183 | 181 | |