8 lines
336 B
Zig
8 lines
336 B
Zig
const builtin = @import("builtin");
|
|
|
|
const Platform = if (builtin.cpu.arch == .wasm32) @import("platform/wasm.zig") else @import("platform/native.zig");
|
|
|
|
// TODO: verify declarations and its signatures
|
|
pub const CoreType = Platform.Core;
|
|
pub const GpuDriverType = Platform.GpuDriver;
|
|
pub const BackingTimerType = Platform.BackingTimer;
|