Skip to content

Commit

Permalink
feat: Add tmp-dir
Browse files Browse the repository at this point in the history
  • Loading branch information
cdmurph32 committed Jan 30, 2025
1 parent d4fddec commit 844d43c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions wit/environment.wit
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,8 @@ interface environment {
/// directory, interpreting `.` as shorthand for this.
@since(version = 0.2.0)
initial-cwd: func() -> option<string>;

/// Return a path that programs should use as their tmp directory.
@unstable(feature = tmp-dir)
tmp-dir: func() -> option<string>;
}

0 comments on commit 844d43c

Please sign in to comment.