Skip to content

Instantly share code, notes, and snippets.

@korakot
Last active February 4, 2023 13:32
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
Install zig in Colab
url = 'https://ziglang.org/download/0.10.1/zig-linux-x86_64-0.10.1.tar.xz'
!curl $url | tar xJ
!mv zig-linux-x86_64-0.10.1 /opt/bin
%%file main.zig
const std = @import("std");
pub fn main() void {
std.debug.print("Hello world\n", .{});
}
!zig run main.zig
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment