Cleans up build
This commit is contained in:
parent
241b2ee6a4
commit
8ca5c953f1
1 changed files with 1 additions and 2 deletions
|
|
@ -11,7 +11,6 @@ pub fn build(b: *std.Build) void {
|
||||||
// Standard options
|
// Standard options
|
||||||
const target = b.standardTargetOptions(.{});
|
const target = b.standardTargetOptions(.{});
|
||||||
const optimize = b.standardOptimizeOption(.{});
|
const optimize = b.standardOptimizeOption(.{});
|
||||||
const native_target = b.resolveTargetQuery(.{});
|
|
||||||
const test_filters = b.option(
|
const test_filters = b.option(
|
||||||
[]const []const u8,
|
[]const []const u8,
|
||||||
"test-filter",
|
"test-filter",
|
||||||
|
|
@ -105,7 +104,7 @@ pub fn build(b: *std.Build) void {
|
||||||
.name = "generate",
|
.name = "generate",
|
||||||
.root_module = b.createModule(.{
|
.root_module = b.createModule(.{
|
||||||
.root_source_file = b.path("src/generate.zig"),
|
.root_source_file = b.path("src/generate.zig"),
|
||||||
.target = native_target,
|
.target = b.graph.host,
|
||||||
.optimize = optimize,
|
.optimize = optimize,
|
||||||
}),
|
}),
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue