Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 2 additions & 0 deletions library/std/src/os/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,8 @@ pub mod solid;
pub mod trusty;
#[cfg(target_os = "uefi")]
pub mod uefi;
#[cfg(target_os = "vibix")]
pub mod vibix;
#[cfg(target_os = "vita")]
pub mod vita;
#[cfg(target_os = "vxworks")]
Expand Down
9 changes: 9 additions & 0 deletions library/std/src/os/vibix/ffi.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
//! vibix-specific extension to the primitives in the `std::ffi` module.

#![stable(feature = "rust1", since = "1.0.0")]

#[path = "../../os/unix/ffi/os_str.rs"]
mod os_str;

#[stable(feature = "rust1", since = "1.0.0")]
pub use self::os_str::{OsStrExt, OsStringExt};
5 changes: 5 additions & 0 deletions library/std/src/os/vibix/mod.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
//! vibix-specific definitions.

#![stable(feature = "rust1", since = "1.0.0")]

pub mod ffi;
4 changes: 4 additions & 0 deletions library/std/src/sys/fs/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ cfg_select! {
mod uefi;
use uefi as imp;
}
target_os = "vibix" => {
mod vibix;
use vibix as imp;
}
target_os = "vexos" => {
mod vexos;
use vexos as imp;
Expand Down
Loading
Loading