From 3e39d0c44fbf0cfb56ef0c00fc8ec7c0d5e1c1ec Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Tue, 5 Jan 2021 17:41:22 -0700 Subject: minor fixups from moving identifiers and files around --- src/Compilation.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Compilation.zig') diff --git a/src/Compilation.zig b/src/Compilation.zig index 552c550149..bf8fd73e93 100644 --- a/src/Compilation.zig +++ b/src/Compilation.zig @@ -3123,7 +3123,7 @@ fn updateStage1Module(comp: *Compilation, main_progress_node: *std.Progress.Node }); break :blk try directory.join(arena, &[_][]const u8{bin_basename}); } else ""; - if (comp.emit_h != null) { + if (mod.emit_h != null) { log.warn("-femit-h is not available in the stage1 backend; no .h file will be produced", .{}); } const emit_h_path = try stage1LocPath(arena, mod.emit_h, directory); -- cgit v1.2.3