| ... | @@ -30,21 +30,11 @@ stack_check: ?bool, | ... | @@ -30,21 +30,11 @@ stack_check: ?bool, |
| 30 | sanitize_c: ?bool, | 30 | sanitize_c: ?bool, |
| 31 | sanitize_thread: ?bool, | 31 | sanitize_thread: ?bool, |
| 32 | code_model: std.builtin.CodeModel, | 32 | code_model: std.builtin.CodeModel, |
| 33 | /// Whether to emit machine code that integrates with Valgrind. | | |
| 34 | valgrind: ?bool, | 33 | valgrind: ?bool, |
| 35 | /// Position Independent Code | | |
| 36 | pic: ?bool, | 34 | pic: ?bool, |
| 37 | red_zone: ?bool, | 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 | omit_frame_pointer: ?bool, | 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 | link_libc: ?bool, | 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 | link_libcpp: ?bool, | 38 | link_libcpp: ?bool, |
| 49 | | 39 | |
| 50 | /// Symbols to be exported when compiling to WebAssembly. | 40 | /// Symbols to be exported when compiling to WebAssembly. |
| ... | @@ -161,7 +151,13 @@ pub const CreateOptions = struct { | ... | @@ -161,7 +151,13 @@ pub const CreateOptions = struct { |
| 161 | target: ?std.Build.ResolvedTarget = null, | 151 | target: ?std.Build.ResolvedTarget = null, |
| 162 | optimize: ?std.builtin.OptimizeMode = null, | 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 | link_libc: ?bool = null, | 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 | link_libcpp: ?bool = null, | 161 | link_libcpp: ?bool = null, |
| 166 | single_threaded: ?bool = null, | 162 | single_threaded: ?bool = null, |
| 167 | strip: ?bool = null, | 163 | strip: ?bool = null, |
| ... | @@ -173,11 +169,13 @@ pub const CreateOptions = struct { | ... | @@ -173,11 +169,13 @@ pub const CreateOptions = struct { |
| 173 | stack_check: ?bool = null, | 169 | stack_check: ?bool = null, |
| 174 | sanitize_c: ?bool = null, | 170 | sanitize_c: ?bool = null, |
| 175 | sanitize_thread: ?bool = null, | 171 | sanitize_thread: ?bool = null, |
| | 172 | /// Whether to emit machine code that integrates with Valgrind. |
| 176 | valgrind: ?bool = null, | 173 | valgrind: ?bool = null, |
| | 174 | /// Position Independent Code |
| 177 | pic: ?bool = null, | 175 | pic: ?bool = null, |
| 178 | red_zone: ?bool = null, | 176 | red_zone: ?bool = null, |
| 179 | /// Whether to omit the stack frame pointer. Frees up a register and makes it | 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 | omit_frame_pointer: ?bool = null, | 179 | omit_frame_pointer: ?bool = null, |
| 182 | }; | 180 | }; |
| 183 | | 181 | |