diff options
| author | Felix "xq" Queißner <git@random-projects.net> | 2023-07-26 16:32:50 +0200 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2023-07-30 11:18:50 -0700 |
| commit | 35d0a49db911e9c459902a021a5bfa05c97ca107 (patch) | |
| tree | 4c3d3c526fe4bcca50ca30fb1ec0ff1b785360f4 /test/standalone/strip_empty_loop | |
| parent | 5c0181841081170a118d8e50af2a09f5006f59e1 (diff) | |
| download | zig-35d0a49db911e9c459902a021a5bfa05c97ca107.tar.gz zig-35d0a49db911e9c459902a021a5bfa05c97ca107.zip | |
Introduces Compile.forceBuild() and Compile.forceEmit(…)
Diffstat (limited to 'test/standalone/strip_empty_loop')
| -rw-r--r-- | test/standalone/strip_empty_loop/build.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/standalone/strip_empty_loop/build.zig b/test/standalone/strip_empty_loop/build.zig index b6752029ce..77a1a08f75 100644 --- a/test/standalone/strip_empty_loop/build.zig +++ b/test/standalone/strip_empty_loop/build.zig @@ -15,7 +15,7 @@ pub fn build(b: *std.Build) void { }); main.strip = true; - _ = main.getEmittedBin(); // enforce emission + main.forceBuild(); test_step.dependOn(&main.step); } |
