more cleanup. down to just the @hasDecl builtin

This commit is contained in:
Andrew Kelley
2019-05-26 13:37:34 -04:00
parent 2f040a23c8
commit 44a049e01e
11 changed files with 63 additions and 42 deletions

View File

@@ -112,7 +112,7 @@ pub fn addCliTests(b: *build.Builder, test_filter: ?[]const u8, modes: []const M
const exe = b.addExecutable("test-cli", "test/cli.zig");
const run_cmd = exe.run();
run_cmd.addArgs([][]const u8{
fs.path.realAlloc(b.allocator, b.zig_exe) catch unreachable,
fs.realpathAlloc(b.allocator, b.zig_exe) catch unreachable,
b.pathFromRoot(b.cache_root),
});