Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add dummy sys._vpath for windows
  • Loading branch information
youknowone committed Feb 25, 2023
commit c40e26ada9e1a51a34b931ff6395563c0cb62bdb
3 changes: 3 additions & 0 deletions vm/src/stdlib/sys.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ mod sys {
const PS1: &str = ">>>>> ";
#[pyattr(name = "ps2")]
const PS2: &str = "..... ";
#[cfg(windows)]
#[pyattr(name = "_vpath")]
const VPATH: Option<&'static str> = None; // TODO: actual VPATH value

#[pyattr]
fn default_prefix(_vm: &VirtualMachine) -> &'static str {
Expand Down