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"
},
"locked": {
"lastModified": 1666526970,
"narHash": "sha256-qfhQNN36Bc1RNGtIC63Gc2UcE27Y9FQ/+uKuujimKms=",
"lastModified": 1666613499,
"narHash": "sha256-kdzazArGy067Z8G6SbnQHVRCIKbsSiKnyq+s2OcEL4Y=",
"owner": "mitchellh",
"repo": "zig-overlay",
"rev": "c6d01ab96647f8dc4b5f99bc2eb71eeec48d1330",
"rev": "9fe7a7038a5115cf00f2f91b2541caeab93779f8",
"type": "github"
},
"original": {

View File

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

View File

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