diff --git a/src/common.zig b/src/common.zig index d4837456259895cb311fd5c7778b60ab19ab0561..fdd56cdee0ea1a678817474c46866e23800625ed 100644 --- a/src/common.zig +++ b/src/common.zig @@ -210,7 +210,8 @@ pub fn get_module_from_dep(d: *u.Dep, dir: []const u8, parent_name: []const u8, if (mod_from.is_for_this()) return mod_from; return null; } - return e; + u.assert(false, "no zig.mod found and no override props defined. unable to use add this dependency!", .{}); + unreachable; }, else => e, };