mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-10-06 09:56:34 +00:00
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:
@@ -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,
|
||||
};
|
||||
|
Reference in New Issue
Block a user