diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2018-07-16 20:52:50 -0400 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2018-07-16 20:52:50 -0400 |
| commit | 97bfeac13f89e1b5a22fcd7d4705341b4c3e1950 (patch) | |
| tree | 4a3e23a8b3908450b23f2dbba72e5f6c091d7114 /src-self-hosted/test.zig | |
| parent | 0fa24b6b7568557c29c9b3ee213ce2b06fcd6367 (diff) | |
| download | zig-97bfeac13f89e1b5a22fcd7d4705341b4c3e1950.tar.gz zig-97bfeac13f89e1b5a22fcd7d4705341b4c3e1950.zip | |
self-hosted: create tmp dir for .o files and emit .o file for fn
Diffstat (limited to 'src-self-hosted/test.zig')
| -rw-r--r-- | src-self-hosted/test.zig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src-self-hosted/test.zig b/src-self-hosted/test.zig index 3edb267ca9..45e5362124 100644 --- a/src-self-hosted/test.zig +++ b/src-self-hosted/test.zig @@ -46,7 +46,7 @@ pub const TestContext = struct { try self.loop.initMultiThreaded(allocator); errdefer self.loop.deinit(); - self.event_loop_local = EventLoopLocal.init(&self.loop); + self.event_loop_local = try EventLoopLocal.init(&self.loop); errdefer self.event_loop_local.deinit(); self.group = std.event.Group(error!void).init(&self.loop); @@ -107,6 +107,7 @@ pub const TestContext = struct { Target.Native, Compilation.Kind.Obj, builtin.Mode.Debug, + true, // is_static self.zig_lib_dir, self.zig_cache_dir, ); |
