You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I came across this user's problem with a "hacky" solution now that lazyDependency exists, but it would be nice to have something more elegant.
consttest_step=b.step("test", "Run all unit tests");
varlazy_dep: ?*std.Build.Dependency=null;
varargs=trystd.process.args();
while (args.next()) |a| {
if (std.mem.eql(u8, a, "test")) lazy_dep=b.lazyDependency("foo", .{});
}
The text was updated successfully, but these errors were encountered:
I came across this user's problem with a "hacky" solution now that
lazyDependency
exists, but it would be nice to have something more elegant.The text was updated successfully, but these errors were encountered: