update zig

This commit is contained in:
Mitchell Hashimoto
2022-10-24 14:35:42 -07:00
parent d346309cb3
commit cf14ea506f
3 changed files with 7 additions and 3 deletions

6
flake.lock generated
View File

@ -109,11 +109,11 @@
"nixpkgs": "nixpkgs_2" "nixpkgs": "nixpkgs_2"
}, },
"locked": { "locked": {
"lastModified": 1666526970, "lastModified": 1666613499,
"narHash": "sha256-qfhQNN36Bc1RNGtIC63Gc2UcE27Y9FQ/+uKuujimKms=", "narHash": "sha256-kdzazArGy067Z8G6SbnQHVRCIKbsSiKnyq+s2OcEL4Y=",
"owner": "mitchellh", "owner": "mitchellh",
"repo": "zig-overlay", "repo": "zig-overlay",
"rev": "c6d01ab96647f8dc4b5f99bc2eb71eeec48d1330", "rev": "9fe7a7038a5115cf00f2f91b2541caeab93779f8",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@ -7,6 +7,7 @@
, python , python
, scdoc , scdoc
, tracy , tracy
, valgrind
, vulkan-loader , vulkan-loader
, vttest , vttest
, wabt , wabt
@ -63,6 +64,7 @@ in mkShell rec {
parallel parallel
python python
tracy tracy
valgrind
vttest vttest
wraptest wraptest

View File

@ -99,6 +99,8 @@ pub fn tracy_enabled() bool {
return options.tracy_enabled; return options.tracy_enabled;
} }
//pub const log_level: std.log.Level = .debug;
fn glfwErrorCallback(code: glfw.Error, desc: [:0]const u8) void { fn glfwErrorCallback(code: glfw.Error, desc: [:0]const u8) void {
log.warn("glfw error={} message={s}", .{ code, desc }); log.warn("glfw error={} message={s}", .{ code, desc });
} }