move to stage2 (#781)
This commit is contained in:
parent
1ced17266c
commit
29679ee6f8
@ -13,7 +13,6 @@ pub fn build(b: *std.build.Builder) !void {
|
||||
|
||||
const mode = b.standardReleaseOptions();
|
||||
const exe = b.addExecutable("zls", "src/main.zig");
|
||||
exe.use_stage1 = true;
|
||||
const exe_options = b.addOptions();
|
||||
exe.addOptions("build_options", exe_options);
|
||||
|
||||
@ -134,7 +133,6 @@ pub fn build(b: *std.build.Builder) !void {
|
||||
});
|
||||
}
|
||||
|
||||
tests.use_stage1 = true;
|
||||
tests.addPackage(.{ .name = "zls", .source = .{ .path = "src/zls.zig" }, .dependencies = exe.packages.items });
|
||||
tests.setBuildMode(.Debug);
|
||||
tests.setTarget(target);
|
||||
|
@ -32,7 +32,7 @@ test "ComptimeInterpreter - basic test" {
|
||||
|
||||
_ = try interpreter.interpret(0, null, .{});
|
||||
|
||||
var bool_type = try interpreter.createType(std.math.maxInt(std.zig.Ast.Node.Index), .{ .@"bool" = .{} });
|
||||
var bool_type = try interpreter.createType(std.math.maxInt(std.zig.Ast.Node.Index), .{ .@"bool" = {} });
|
||||
var arg_false = ComptimeInterpreter.Value{
|
||||
.interpreter = &interpreter,
|
||||
.node_idx = std.math.maxInt(std.zig.Ast.Node.Index),
|
||||
|
Loading…
Reference in New Issue
Block a user