File tree Expand file tree Collapse file tree 4 files changed +49
-0
lines changed
Expand file tree Collapse file tree 4 files changed +49
-0
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ fn main() {
3737 || target. contains ( "nintendo-3ds" )
3838 || target. contains ( "vita" )
3939 || target. contains ( "nto" )
40+ || target. contains ( "xous" )
4041 // See src/bootstrap/synthetic_targets.rs
4142 || env:: var ( "RUSTC_BOOTSTRAP_SYNTHETIC_TARGET" ) . is_ok ( )
4243 {
Original file line number Diff line number Diff line change @@ -44,6 +44,9 @@ cfg_if::cfg_if! {
4444 } else if #[ cfg( target_family = "wasm" ) ] {
4545 mod wasm;
4646 pub use self :: wasm:: * ;
47+ } else if #[ cfg( target_os = "xous" ) ] {
48+ mod xous;
49+ pub use self :: xous:: * ;
4750 } else if #[ cfg( all( target_vendor = "fortanix" , target_env = "sgx" ) ) ] {
4851 mod sgx;
4952 pub use self :: sgx:: * ;
Original file line number Diff line number Diff line change 1+ #![ deny( unsafe_op_in_unsafe_fn) ]
2+
3+ #[ path = "../unsupported/alloc.rs" ]
4+ pub mod alloc;
5+ #[ path = "../unsupported/args.rs" ]
6+ pub mod args;
7+ #[ path = "../unix/cmath.rs" ]
8+ pub mod cmath;
9+ #[ path = "../unsupported/env.rs" ]
10+ pub mod env;
11+ #[ path = "../unsupported/fs.rs" ]
12+ pub mod fs;
13+ #[ path = "../unsupported/io.rs" ]
14+ pub mod io;
15+ #[ path = "../unsupported/locks/mod.rs" ]
16+ pub mod locks;
17+ #[ path = "../unsupported/net.rs" ]
18+ pub mod net;
19+ #[ path = "../unsupported/once.rs" ]
20+ pub mod once;
21+ #[ path = "../unsupported/os.rs" ]
22+ pub mod os;
23+ #[ path = "../unix/os_str.rs" ]
24+ pub mod os_str;
25+ #[ path = "../unix/path.rs" ]
26+ pub mod path;
27+ #[ path = "../unsupported/pipe.rs" ]
28+ pub mod pipe;
29+ #[ path = "../unsupported/process.rs" ]
30+ pub mod process;
31+ #[ path = "../unsupported/stdio.rs" ]
32+ pub mod stdio;
33+ #[ path = "../unsupported/thread.rs" ]
34+ pub mod thread;
35+ #[ path = "../unsupported/thread_local_key.rs" ]
36+ pub mod thread_local_key;
37+ #[ path = "../unsupported/thread_parking.rs" ]
38+ pub mod thread_parking;
39+ #[ path = "../unsupported/time.rs" ]
40+ pub mod time;
41+
42+ #[ path = "../unsupported/common.rs" ]
43+ mod common;
44+ pub use common:: * ;
Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ cfg_if::cfg_if! {
4646 if #[ cfg( any( target_os = "l4re" ,
4747 feature = "restricted-std" ,
4848 all( target_family = "wasm" , not( target_os = "emscripten" ) ) ,
49+ target_os = "xous" ,
4950 all( target_vendor = "fortanix" , target_env = "sgx" ) ) ) ] {
5051 pub use crate :: sys:: net;
5152 } else {
You can’t perform that action at this time.
0 commit comments