ecs: improve compatibility with -fno-stage1
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
d3f0d9938e
commit
fcbd12e36c
1 changed files with 1 additions and 1 deletions
|
|
@ -8,7 +8,7 @@ pub fn build(b: *std.build.Builder) void {
|
|||
}
|
||||
|
||||
pub fn testStep(b: *std.build.Builder, mode: std.builtin.Mode, target: std.zig.CrossTarget) *std.build.RunStep {
|
||||
const main_tests = b.addTestExe("ecs-tests", thisDir() ++ "/src/main.zig");
|
||||
const main_tests = b.addTestExe("ecs-tests", (comptime thisDir()) ++ "/src/main.zig");
|
||||
main_tests.setBuildMode(mode);
|
||||
main_tests.setTarget(target);
|
||||
main_tests.install();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue