authorgravatar for pawalamde@gmail.comzenith391 <pawalamde@gmail.com> 2020-09-18 18:58:54+02:00
committergravatar for git@vexu.euVeikka Tuominen <git@vexu.eu> 2020-09-19 00:39:43+03:00
log4fbf9f7f79c8e0df525f9932878995e6a6782ac4
treed640067edc7d2531316a197cab91332138a2fbf8
parentfbde15fdf41024d977401ab2a5c52e60b67d48fa

Add "emit_docs" field to LibExeObjStep.


1 files changed, 2 insertions(+), 0 deletions(-)

lib/std/build.zig+2
...@@ -1188,6 +1188,7 @@ pub const LibExeObjStep = struct {...@@ -1188,6 +1188,7 @@ pub const LibExeObjStep = struct {
1188 emit_llvm_ir: bool = false,1188 emit_llvm_ir: bool = false,
1189 emit_asm: bool = false,1189 emit_asm: bool = false,
1190 emit_bin: bool = true,1190 emit_bin: bool = true,
1191 emit_docs: bool = false,
1191 emit_h: bool = false,1192 emit_h: bool = false,
1192 bundle_compiler_rt: bool,1193 bundle_compiler_rt: bool,
1193 disable_stack_probing: bool,1194 disable_stack_probing: bool,
...@@ -2033,6 +2034,7 @@ pub const LibExeObjStep = struct {...@@ -2033,6 +2034,7 @@ pub const LibExeObjStep = struct {
2033 if (self.emit_llvm_ir) try zig_args.append("-femit-llvm-ir");2034 if (self.emit_llvm_ir) try zig_args.append("-femit-llvm-ir");
2034 if (self.emit_asm) try zig_args.append("-femit-asm");2035 if (self.emit_asm) try zig_args.append("-femit-asm");
2035 if (!self.emit_bin) try zig_args.append("-fno-emit-bin");2036 if (!self.emit_bin) try zig_args.append("-fno-emit-bin");
2037 if (self.emit_docs) try zig_args.append("-femit-docs");
2036 if (self.emit_h) try zig_args.append("-femit-h");2038 if (self.emit_h) try zig_args.append("-femit-h");
20372039
2038 if (self.strip) {2040 if (self.strip) {