stage2: write out builtin.zig before spawning AstGen tasks

Otherwise it's possible for AstGen to get FileNotFound when trying to
eager-load `import("builtin")`.
This commit is contained in:
Andrew Kelley
2021-04-22 22:35:18 -07:00
parent a830ebe718
commit 2d290d6f82
2 changed files with 11 additions and 10 deletions

View File

@@ -109,6 +109,8 @@ stage1_flags: packed struct {
emit_h: ?Compilation.EmitLoc,
job_queued_update_builtin_zig: bool = true,
compile_log_text: ArrayListUnmanaged(u8) = .{},
pub const ErrorInt = u32;