authorgravatar for noam@pixelhero.devNoam Preil <noam@pixelhero.dev> 2020-02-10 00:23:10-05:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2020-02-18 18:59:45-05:00
logdba12cd693495009ae624393337a04e80b0ea565
treee54d97c8e23f81417e010f320360f70a074b20d6
parent9c98c73e7359bdf54b3c6b1e82354b0e987c2715
signaturelock-open Commit is signed but in an unrecognized format.

Rename produce_* bools to emit_* to match CLI


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

lib/std/build.zig+9-9
...@@ -1155,9 +1155,9 @@ pub const LibExeObjStep = struct {...@@ -1155,9 +1155,9 @@ pub const LibExeObjStep = struct {
1155 frameworks: BufSet,1155 frameworks: BufSet,
1156 verbose_link: bool,1156 verbose_link: bool,
1157 verbose_cc: bool,1157 verbose_cc: bool,
1158 produce_ir: bool,1158 emit_ir: bool,
1159 produce_asm: bool,1159 emit_asm: bool,
1160 produce_bin: bool,1160 emit_bin: bool,
1161 disable_gen_h: bool,1161 disable_gen_h: bool,
1162 bundle_compiler_rt: bool,1162 bundle_compiler_rt: bool,
1163 disable_stack_probing: bool,1163 disable_stack_probing: bool,
...@@ -1288,9 +1288,9 @@ pub const LibExeObjStep = struct {...@@ -1288,9 +1288,9 @@ pub const LibExeObjStep = struct {
1288 .builder = builder,1288 .builder = builder,
1289 .verbose_link = false,1289 .verbose_link = false,
1290 .verbose_cc = false,1290 .verbose_cc = false,
1291 .produce_ir = false,1291 .emit_ir = false,
1292 .produce_asm = false,1292 .emit_asm = false,
1293 .produce_bin = true,1293 .emit_bin = true,
1294 .build_mode = builtin.Mode.Debug,1294 .build_mode = builtin.Mode.Debug,
1295 .is_dynamic = is_dynamic,1295 .is_dynamic = is_dynamic,
1296 .kind = kind,1296 .kind = kind,
...@@ -1947,9 +1947,9 @@ pub const LibExeObjStep = struct {...@@ -1947,9 +1947,9 @@ pub const LibExeObjStep = struct {
1947 if (builder.verbose_link or self.verbose_link) zig_args.append("--verbose-link") catch unreachable;1947 if (builder.verbose_link or self.verbose_link) zig_args.append("--verbose-link") catch unreachable;
1948 if (builder.verbose_cc or self.verbose_cc) zig_args.append("--verbose-cc") catch unreachable;1948 if (builder.verbose_cc or self.verbose_cc) zig_args.append("--verbose-cc") catch unreachable;
19491949
1950 try zig_args.append(if (self.produce_ir) "-femit-llvm-ir" else "-fno-emit-llvm-ir");1950 try zig_args.append(if (self.emit_ir) "-femit-llvm-ir" else "-fno-emit-llvm-ir");
1951 try zig_args.append(if (self.produce_asm) "-femit-asm" else "-fno-emit-asm");1951 try zig_args.append(if (self.emit_asm) "-femit-asm" else "-fno-emit-asm");
1952 try zig_args.append(if (self.produce_bin) "-femit-bin" else "-fno-emit-bin");1952 try zig_args.append(if (self.emit_bin) "-femit-bin" else "-fno-emit-bin");
19531953
1954 if (self.strip) {1954 if (self.strip) {
1955 try zig_args.append("--strip");1955 try zig_args.append("--strip");