diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2022-08-07 19:37:05 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-07 19:37:05 -0700 |
| commit | 396eb730e5133c150134bb675ee43d5323e2bb6d (patch) | |
| tree | bbaf10846313527b723e390aa7c72ebc9530a1ad /src/stage1/codegen.cpp | |
| parent | ae16c1d0835b517cb858cb9615888cdab1e351c5 (diff) | |
| parent | ec7f7131473a5648703c48422b449c12ed4524aa (diff) | |
| download | zig-396eb730e5133c150134bb675ee43d5323e2bb6d.tar.gz zig-396eb730e5133c150134bb675ee43d5323e2bb6d.zip | |
Merge pull request #12228 from nektro/stage2-arch
remove 'builtin.stage2_arch', Sema is smart enough now
Diffstat (limited to 'src/stage1/codegen.cpp')
| -rw-r--r-- | src/stage1/codegen.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/stage1/codegen.cpp b/src/stage1/codegen.cpp index 8b88446295..7010e736dc 100644 --- a/src/stage1/codegen.cpp +++ b/src/stage1/codegen.cpp @@ -10076,7 +10076,6 @@ Buf *codegen_generate_builtin_source(CodeGen *g) { buf_appendf(contents, "pub const single_threaded = %s;\n", bool_to_str(g->is_single_threaded)); buf_appendf(contents, "pub const abi = std.Target.Abi.%s;\n", cur_abi); buf_appendf(contents, "pub const cpu = std.Target.Cpu.baseline(.%s);\n", cur_arch); - buf_appendf(contents, "pub const stage2_arch: std.Target.Cpu.Arch = .%s;\n", cur_arch); buf_appendf(contents, "pub const os = std.Target.Os.Tag.defaultVersionRange(.%s, .%s);\n", cur_os, cur_arch); buf_appendf(contents, "pub const target = std.Target{\n" |
