In your bunny.net account, go to the Delivery -> CDN tab and create a new pull zone.
Pick a name, set https://ziglang.org
as the origin, and choose "High Volume Tier", as we're going to be serving relatively large files.
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 |