mirror of
https://github.com/RustPython/RustPython.git
synced 2026-06-02 19:39:49 +09:00
fixup: add note
This commit is contained in:
committed by
Jeong YunWon
parent
9c2355117c
commit
3131d56298
@@ -63,6 +63,7 @@ pub use settings::{opts_with_clap, RunMode};
|
||||
pub fn run(init: impl FnOnce(&mut VirtualMachine) + 'static) -> ExitCode {
|
||||
env_logger::init();
|
||||
|
||||
// NOTE: This is not a WASI convention. But it will be convenient since POSIX shell always defines it.
|
||||
#[cfg(target_os = "wasi")]
|
||||
{
|
||||
if let Ok(pwd) = env::var("PWD") {
|
||||
|
||||
Reference in New Issue
Block a user