Compare commits

..

No commits in common. "961435b8ccbc2415cd2ce943abd2084374399534" and "0257676d18e64684c6e5e285e72474dec14a88d7" have entirely different histories.

6 changed files with 0 additions and 38 deletions

View file

@ -1,10 +0,0 @@
#!/usr/bin/env bash
mkdir -p bin
cd bin/
curl -L "https://ziglang.org/download/0.9.1/zig-linux-x86_64-0.9.1.tar.xz" -o zig.tar.xz
tar xf zig.tar.xz --strip-components=1
rm zig.tar.xz
cd ../

View file

@ -1,6 +0,0 @@
#!/usr/bin/env bash
# optimizing for small programs
rename 's/$/\.zig/' "$@" # Add .zig extension
zig build-exe -O ReleaseSafe --color off --cache-dir . --global-cache-dir . --name out *.zig

View file

@ -1,4 +0,0 @@
#!/usr/bin/env bash
# compiler path
export PATH=$PWD/bin:$PATH

View file

@ -1,8 +0,0 @@
{
"language": "zig",
"version": "0.9.1",
"aliases": ["zig"],
"limit_overrides": {
"compile_timeout": 15000
}
}

View file

@ -1,4 +0,0 @@
#!/usr/bin/env bash
shift # Filename is only used in compile step, so we can take it out here
./out "$@"

View file

@ -1,6 +0,0 @@
const std = @import("std");
pub fn main() !void {
const stdout = std.io.getStdOut().writer();
try stdout.print("OK\n", .{});
}