Skip to content

Commit 3131d56

Browse files
d3lmyouknowone
authored andcommitted
fixup: add note
1 parent 9c23551 commit 3131d56

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ pub use settings::{opts_with_clap, RunMode};
6363
pub fn run(init: impl FnOnce(&mut VirtualMachine) + 'static) -> ExitCode {
6464
env_logger::init();
6565

66+
// NOTE: This is not a WASI convention. But it will be convenient since POSIX shell always defines it.
6667
#[cfg(target_os = "wasi")]
6768
{
6869
if let Ok(pwd) = env::var("PWD") {

0 commit comments

Comments
 (0)