This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//! Wrapper for RenderDoc in-application API, v1.4.1 | |
pub fn load() ?*const Api { | |
if (!builtin.link_libc) { | |
return null; | |
} | |
var dl: std.DynLib = switch (builtin.os.tag) { | |
.linux => .{ .inner = .{ | |
.handle = std.c.dlopen( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.zig-cache/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh -e | |
case "$(uname -s)" in | |
Linux) os=linux;; | |
Darwin) os=macos;; | |
FreeBSD) os=freebsd;; | |
*) echo 'Unsupported OS' >&2; exit 1;; | |
esac | |
curl -sSL 'https://ziglang.org/download/index.json' | | |
jq -r ".master| .version, (.\"$(uname -m)-$os\" | .tarball, .shasum)" | { | |
read -r version |