WIP: Update to new build module API after Zig PR #18160

Temporarily change dependency sources to forks until they update
This commit is contained in:
Krzysztof Wolicki
2024-01-03 21:50:32 +01:00
parent f93c41669e
commit 1913243c35
20 changed files with 213 additions and 172 deletions

View File

@@ -30,10 +30,10 @@ pub const Impl = enum {
webgl,
pub fn default(
target: std.zig.CrossTarget,
target: std.Target,
wasm_target: WasmTarget,
) Impl {
if (target.getCpuArch() == .wasm32) {
if (target.cpu.arch == .wasm32) {
return switch (wasm_target) {
.browser => .webgl,
};