mirror of
https://github.com/nushell/nushell
synced 2025-01-09 11:49:00 +00:00
b27148d14b
* nu-path: use 'linux' code on all non-macOS unix * nu-command: cfg() the Ps command to platforms it's actually implemented on * nu-system: cfg() the Ps test to the platforms Ps is implemented on
29 lines
550 B
Rust
29 lines
550 B
Rust
mod benchmark;
|
|
mod complete;
|
|
mod exec;
|
|
mod nu_check;
|
|
#[cfg(any(
|
|
target_os = "android",
|
|
target_os = "linux",
|
|
target_os = "macos",
|
|
target_os = "windows"
|
|
))]
|
|
mod ps;
|
|
mod run_external;
|
|
mod sys;
|
|
mod which_;
|
|
|
|
pub use benchmark::Benchmark;
|
|
pub use complete::Complete;
|
|
pub use exec::Exec;
|
|
pub use nu_check::NuCheck;
|
|
#[cfg(any(
|
|
target_os = "android",
|
|
target_os = "linux",
|
|
target_os = "macos",
|
|
target_os = "windows"
|
|
))]
|
|
pub use ps::Ps;
|
|
pub use run_external::{External, ExternalCommand};
|
|
pub use sys::Sys;
|
|
pub use which_::Which;
|