{gpu, gpu-dawn}: update to latest zig
This commit is contained in:
parent
47e90c1a7e
commit
2b533f7763
2 changed files with 2 additions and 2 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
const std = @import("std");
|
const std = @import("std");
|
||||||
const Builder = std.build.Builder;
|
const Builder = std.build.Builder;
|
||||||
|
|
||||||
pub fn Sdk(deps: anytype) type {
|
pub fn Sdk(comptime deps: anytype) type {
|
||||||
return struct {
|
return struct {
|
||||||
pub const LinuxWindowManager = enum {
|
pub const LinuxWindowManager = enum {
|
||||||
X11,
|
X11,
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@ const std = @import("std");
|
||||||
// const gpu_dawn = @import("libs/mach-gpu-dawn/build.zig");
|
// const gpu_dawn = @import("libs/mach-gpu-dawn/build.zig");
|
||||||
// const glfw = @import("libs/mach-glfw/build.zig");
|
// const glfw = @import("libs/mach-glfw/build.zig");
|
||||||
|
|
||||||
pub fn Sdk(deps: anytype) type {
|
pub fn Sdk(comptime deps: anytype) type {
|
||||||
return struct {
|
return struct {
|
||||||
pub fn testStep(b: *std.build.Builder, mode: std.builtin.Mode, target: std.zig.CrossTarget, options: Options) *std.build.RunStep {
|
pub fn testStep(b: *std.build.Builder, mode: std.builtin.Mode, target: std.zig.CrossTarget, options: Options) *std.build.RunStep {
|
||||||
const main_tests = b.addTestExe("gpu-tests", (comptime thisDir()) ++ "/src/main.zig");
|
const main_tests = b.addTestExe("gpu-tests", (comptime thisDir()) ++ "/src/main.zig");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue