Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/root.zig
Original file line number Diff line number Diff line change
Expand Up @@ -111,3 +111,10 @@ test "every public declaration of this module is analysed" {
// while its CI stayed green throughout (zig-hdc#2).
@import("std").testing.refAllDeclsRecursive(@This());
}

// vsa_jit was never exported, so nothing ever compiled it, so nobody found
// that vm/jit_unified.zig imported "../../jit_arm64.zig" — a path that
// escapes the module root and could not resolve on any machine. The file
// sat beside it the whole time. Exporting it is what makes the compiler
// look, and the compiler looking is the only reason the defect surfaced.
pub const vsa_jit = @import("vsa_jit.zig");
2 changes: 1 addition & 1 deletion src/vm/jit_unified.zig
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const std = @import("std");
const builtin = @import("builtin");

// Import architecture-specific backends
const arm64 = @import("../../jit_arm64.zig");
const arm64 = @import("jit_arm64.zig");
const x86_64 = @import("jit_x86_64.zig");

// ═══════════════════════════════════════════════════════════════════════════════
Expand Down
Loading