aboutsummaryrefslogtreecommitdiff
path: root/src/Compilation.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2021-09-13 20:08:44 -0700
committerAndrew Kelley <andrew@ziglang.org>2021-09-13 20:11:35 -0700
commit5529febab056c870f7b2a123b0645b5e3b1146c9 (patch)
treea0e71a36908a9ab4e83e50dd5b96812561dade34 /src/Compilation.zig
parentf011f13933b72f4d63a5f635c7646b68beee726e (diff)
downloadzig-5529febab056c870f7b2a123b0645b5e3b1146c9.tar.gz
zig-5529febab056c870f7b2a123b0645b5e3b1146c9.zip
stage2: implement Value.copy for structs and unions
The stage2_os hack inside `@import("builtin")` is no longer needed.
Diffstat (limited to 'src/Compilation.zig')
-rw-r--r--src/Compilation.zig3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/Compilation.zig b/src/Compilation.zig
index 26c8bf2a70..b13aabe272 100644
--- a/src/Compilation.zig
+++ b/src/Compilation.zig
@@ -3671,8 +3671,6 @@ pub fn generateBuiltinZigSource(comp: *Compilation, allocator: *Allocator) Alloc
\\pub const zig_is_stage2 = {};
\\/// Temporary until self-hosted supports the `cpu.arch` value.
\\pub const stage2_arch: std.Target.Cpu.Arch = .{};
- \\/// Temporary until self-hosted supports the `os.tag` value.
- \\pub const stage2_os: std.Target.Os.Tag = .{};
\\
\\pub const output_mode = std.builtin.OutputMode.{};
\\pub const link_mode = std.builtin.LinkMode.{};
@@ -3688,7 +3686,6 @@ pub fn generateBuiltinZigSource(comp: *Compilation, allocator: *Allocator) Alloc
build_options.version,
!use_stage1,
std.zig.fmtId(@tagName(target.cpu.arch)),
- std.zig.fmtId(@tagName(target.os.tag)),
std.zig.fmtId(@tagName(comp.bin_file.options.output_mode)),
std.zig.fmtId(@tagName(comp.bin_file.options.link_mode)),
comp.bin_file.options.is_test,