2019-05-28 21:12:41 +01:00
|
|
|
const builtin = @import("builtin");
|
2019-05-22 20:12:46 +01:00
|
|
|
|
2019-09-08 20:48:23 +01:00
|
|
|
pub const internals = if (builtin.is_test) @import("mocking").arch else switch (builtin.arch) {
|
2019-05-28 21:12:41 +01:00
|
|
|
builtin.Arch.i386 => @import("arch/x86/arch.zig"),
|
|
|
|
else => unreachable,
|
|
|
|
};
|