Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
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
1 change: 0 additions & 1 deletion library/std/src/sys/pal/vexos/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#[path = "../unsupported/os.rs"]
pub mod os;
#[path = "../unsupported/pipe.rs"]
pub mod pipe;
Expand Down
19 changes: 19 additions & 0 deletions library/std/src/sys/pal/vexos/os.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#[expect(dead_code)]
#[path = "../unsupported/os.rs"]
mod unsupported_os;
pub use unsupported_os::{
JoinPathsError, SplitPaths, chdir, current_exe, errno, error_string, getcwd, getpid, home_dir,
join_paths, split_paths, temp_dir,
};

pub use super::unsupported;

pub fn exit(_code: i32) -> ! {
unsafe {
vex_sdk::vexSystemExitRequest();

loop {
vex_sdk::vexTasksRun();
}
}
}
Loading