diff options
Diffstat (limited to 'build.zig')
| -rw-r--r-- | build.zig | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -202,6 +202,9 @@ pub fn build(b: *Build) void { // field name, through the real dlopen path and the headless host. const v1 = sb.app(.{ .name = "counter", .root_source_file = b.path("test/counter_v1.zig") }).addLibrary(); const v2 = sb.app(.{ .name = "counter", .root_source_file = b.path("test/counter_v2.zig") }).addLibrary(); + // v2 through the linker `-fincremental` uses, whose 0.17.1 libraries + // glibc loads only after the host's fixup (`withoutVersym`). + v2.use_new_linker = true; // Command.shape on the native host: the parity cases, screenshotted // and checked pixel by pixel (tools/shapes_web.mjs compares the same // sketch in headless Chrome: `zig build test-web`). |
