std.Build.Compile: handle modules sans root source files
Uses the new `-M[name][=src]` CLI syntax to omit the source when the
module does not have a zig root source file.
Only some kinds of link objects imply that this should happen.
2dea375450Andrew Kelley committed on 1/20/2024, 5:28:07 AMparent29cce62