mirror of
https://github.com/ziglang/zig.git
synced 2024-11-27 07:32:44 +00:00
Compilation: don't queue std analysis twice when testing std
This commit is contained in:
parent
8f8fe89276
commit
4e5834a9f2
@ -2269,7 +2269,7 @@ pub fn update(comp: *Compilation, main_progress_node: std.Progress.Node) !void {
|
||||
try comp.queueJob(.{ .analyze_mod = std_mod });
|
||||
zcu.analysis_roots.appendAssumeCapacity(std_mod);
|
||||
|
||||
if (comp.config.is_test) {
|
||||
if (comp.config.is_test and zcu.main_mod != std_mod) {
|
||||
try comp.queueJob(.{ .analyze_mod = zcu.main_mod });
|
||||
zcu.analysis_roots.appendAssumeCapacity(zcu.main_mod);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user