Sha256: 79f6c0dd45dca0a2bea919ac920c4a56cea23608a345961e4d027aee6624783c

Contents?: true

Size: 1014 Bytes

Versions: 8

Compression:

Stored size: 1014 Bytes

Contents

use crate::backend;

/// `EXIT_SUCCESS` for use with [`exit`].
///
/// [`exit`]: std::process::exit
///
/// # References
///  - [POSIX]
///  - [Linux]
///
/// [POSIX]: https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/stdlib.h.html
/// [Linux]: https://man7.org/linux/man-pages/man3/exit.3.html
pub const EXIT_SUCCESS: i32 = backend::process::types::EXIT_SUCCESS;

/// `EXIT_FAILURE` for use with [`exit`].
///
/// [`exit`]: std::process::exit
///
/// # References
///  - [POSIX]
///  - [Linux]
///
/// [POSIX]: https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/stdlib.h.html
/// [Linux]: https://man7.org/linux/man-pages/man3/exit.3.html
pub const EXIT_FAILURE: i32 = backend::process::types::EXIT_FAILURE;

/// The exit status used by a process terminated with `SIGABRT` signal.
///
/// # References
///  - [Linux]
///
/// [Linux]: https://tldp.org/LDP/abs/html/exitcodes.html
#[cfg(not(target_os = "wasi"))]
pub const EXIT_SIGNALED_SIGABRT: i32 = backend::process::types::EXIT_SIGNALED_SIGABRT;

Version data entries

8 entries across 7 versions & 1 rubygems

Version Path
wasmtime-8.0.0 ./ext/cargo-vendor/rustix-0.36.12/src/process/exit.rs
wasmtime-7.0.0 ./ext/cargo-vendor/rustix-0.36.11/src/process/exit.rs
wasmtime-7.0.0 ./ext/cargo-vendor/rustix-0.37.5/src/process/exit.rs
wasmtime-6.0.1 ./ext/cargo-vendor/rustix-0.36.8/src/process/exit.rs
wasmtime-6.0.0 ./ext/cargo-vendor/rustix-0.36.8/src/process/exit.rs
wasmtime-5.0.0 ./ext/cargo-vendor/rustix-0.36.7/src/process/exit.rs
wasmtime-0.4.1 ./ext/cargo-vendor/rustix-0.36.5/src/process/exit.rs
wasmtime-0.4.0 ./ext/cargo-vendor/rustix-0.36.5/src/process/exit.rs