-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Labels
bugObserved behavior contradicts documented or intended behaviorObserved behavior contradicts documented or intended behaviorlinking
Milestone
Description
Zig Version
0.16.0-dev.711+9aeabad51
Steps to Reproduce and Observed Behavior
- Clone https://github.com/myclevorname/narser/ at commit 04234e3b60e8b0969fceb267360e811129a44237
- Run
zig build --watch -fincremental
or apply the following patch:
diff --git a/build.zig b/build.zig
index 73ae236..223aa21 100644
--- a/build.zig
+++ b/build.zig
@@ -33,6 +33,7 @@ pub fn build(b: *std.Build) void {
.imports = &.{.{ .name = "lib", .module = narser }},
}),
});
+ exe.use_new_linker = true;
b.installFile("src/_narser.bash", "share/bash-completion/completions/narser");
if (no_bin)
This does not happen on the Zig compiler source code.
Expected Behavior
The assert doesn't fail
Metadata
Metadata
Assignees
Labels
bugObserved behavior contradicts documented or intended behaviorObserved behavior contradicts documented or intended behaviorlinking