Skip to content

Commit d9b00ee

Browse files
jacobly0andrewrk
authored andcommitted
standalone: support relative cache path
1 parent 6bc0cef commit d9b00ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/standalone/dirname/build.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ pub fn build(b: *std.Build) void {
5555
const abs_path = setup_abspath: {
5656
const temp_dir = b.makeTempPath();
5757

58-
var dir = std.fs.openDirAbsolute(temp_dir, .{}) catch @panic("failed to open temp dir");
58+
var dir = std.fs.cwd().openDir(temp_dir, .{}) catch @panic("failed to open temp dir");
5959
defer dir.close();
6060

6161
var file = dir.createFile("foo.txt", .{}) catch @panic("failed to create file");

0 commit comments

Comments
 (0)