unix: Add squiid platform-dependent code.

Currently, this is mostly copied from redox so it builds for now.
It will be adapted as needed in future.

Signed-off-by: Christoph Heiss <contact@christoph-heiss.at>
This commit is contained in:
Christoph Heiss 2022-07-09 17:08:18 +02:00 committed by Christoph Heiss
parent f4bc85111b
commit 6ef1e09701
Signed by: c8h4
GPG key ID: 9C82009BEEDEA0FF
2 changed files with 1229 additions and 0 deletions

View file

@ -1570,6 +1570,9 @@ cfg_if! {
} else if #[cfg(target_os = "nto")] {
mod nto;
pub use self::nto::*;
} else if #[cfg(target_os = "squiid")] {
mod squiid;
pub use self::squiid::*;
} else {
// Unknown target_os
}

1226
src/unix/squiid/mod.rs Normal file

File diff suppressed because it is too large Load diff