Skip to content

Commit 2c5ee27

Browse files
committed
current exe stub
1 parent 360dddb commit 2c5ee27

File tree

1 file changed

+1
-1
lines changed
  • library/std/src/sys/pal/hermit

1 file changed

+1
-1
lines changed

library/std/src/sys/pal/hermit/os.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ impl StdError for JoinPathsError {
6565
}
6666

6767
pub fn current_exe() -> io::Result<PathBuf> {
68-
unsupported()
68+
Ok(crate::path::Path::new("qemu").to_path_buf())
6969
}
7070

7171
static ENV: Mutex<Option<HashMap<OsString, OsString>>> = Mutex::new(None);

0 commit comments

Comments
 (0)