Don't check in binaries in examples

This commit is contained in:
Richard Feldman 2021-03-14 14:19:36 -04:00
parent 7d78de110b
commit 58cf08349e
7 changed files with 7 additions and 1 deletions

View file

@ -79,7 +79,7 @@ pub fn rebuild_host(host_input_path: &Path) {
&zig_str_path &zig_str_path
); );
let zig_env = "/usr/local/Cellar/zig/HEAD-6ab5beb/lib/zig/std/special/compiler_rt.zig"; let zig_env = "/usr/local/Cellar/zig/0.7.1/lib/zig/std/special/compiler_rt.zig";
let output = Command::new("zig") let output = Command::new("zig")
.env_clear() .env_clear()

4
examples/.gitignore vendored
View file

@ -8,4 +8,8 @@ benchmarks/nqueens
benchmarks/deriv benchmarks/deriv
benchmarks/cfold benchmarks/cfold
benchmarks/rbtree-insert benchmarks/rbtree-insert
benchmarks/rbtree-del
benchmarks/closure
benchmarks/test-astar
benchmarks/test-base64
effect-example effect-example

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -5,6 +5,8 @@ const testing = std.testing;
const expectEqual = testing.expectEqual; const expectEqual = testing.expectEqual;
const expect = testing.expect; const expect = testing.expect;
comptime { _ = @import("compiler_rt"); }
const mem = std.mem; const mem = std.mem;
const Allocator = mem.Allocator; const Allocator = mem.Allocator;