authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2023-12-02 22:13:45-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2024-01-01 17:51:18-07:00
logdd45095ba13217021551f4988953f7e337f9a694
treebfa435c65c88f5e8847dac60a863df790a5b4825
parent142471fcc46070326526e3976f0150fe734df0b6

spelling fixes


1 files changed, 9 insertions(+), 11 deletions(-)

lib/std/Build/Module.zig+9-11
...@@ -30,21 +30,11 @@ stack_check: ?bool,...@@ -30,21 +30,11 @@ stack_check: ?bool,
30sanitize_c: ?bool,30sanitize_c: ?bool,
31sanitize_thread: ?bool,31sanitize_thread: ?bool,
32code_model: std.builtin.CodeModel,32code_model: std.builtin.CodeModel,
33/// Whether to emit machine code that integrates with Valgrind.
34valgrind: ?bool,33valgrind: ?bool,
35/// Position Independent Code
36pic: ?bool,34pic: ?bool,
37red_zone: ?bool,35red_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.
40omit_frame_pointer: ?bool,36omit_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.
44link_libc: ?bool,37link_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.
48link_libcpp: ?bool,38link_libcpp: ?bool,
4939
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,
163153
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 it177 /// 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};
183181