aboutsummaryrefslogtreecommitdiff
path: root/src/main.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2023-12-15 20:28:51 -0700
committerAndrew Kelley <andrew@ziglang.org>2024-01-01 17:51:20 -0700
commit48d5861f9256dfd1c5357dd6f2a023e700de16e4 (patch)
tree72534a37dff36062ba16fc86be90997d3f16ef22 /src/main.zig
parent638db680f4c6380bb193da520f29a7c587bfb719 (diff)
downloadzig-48d5861f9256dfd1c5357dd6f2a023e700de16e4.tar.gz
zig-48d5861f9256dfd1c5357dd6f2a023e700de16e4.zip
fix more compilation errors introduced by this branch
Diffstat (limited to 'src/main.zig')
-rw-r--r--src/main.zig17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/main.zig b/src/main.zig
index ee6468d41f..26e1d79a7b 100644
--- a/src/main.zig
+++ b/src/main.zig
@@ -5242,22 +5242,6 @@ pub fn cmdBuild(gpa: Allocator, arena: Allocator, args: []const []const u8) !voi
});
const builtin_mod = root_mod.getBuiltinDependency();
- const std_mod = try Package.Module.create(arena, .{
- .global_cache_directory = global_cache_directory,
- .paths = .{
- .root = .{
- .root_dir = zig_lib_directory,
- .sub_path = "std",
- },
- .root_src_path = "std.zig",
- },
- .fully_qualified_name = "std",
- .cc_argv = &.{},
- .inherited = .{},
- .global = config,
- .parent = root_mod,
- .builtin_mod = builtin_mod,
- });
const build_mod = try Package.Module.create(arena, .{
.global_cache_directory = global_cache_directory,
@@ -5425,7 +5409,6 @@ pub fn cmdBuild(gpa: Allocator, arena: Allocator, args: []const []const u8) !voi
.config = config,
.root_mod = root_mod,
.main_mod = build_mod,
- .std_mod = std_mod,
.emit_bin = emit_bin,
.emit_h = null,
.self_exe_path = self_exe_path,