We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ea4493 commit 6e971a8Copy full SHA for 6e971a8
library/std/src/process.rs
@@ -2030,6 +2030,10 @@ pub fn id() -> u32 {
2030
///
2031
/// The default implementations are returning `libc::EXIT_SUCCESS` to indicate
2032
/// a successful execution. In case of a failure, `libc::EXIT_FAILURE` is returned.
2033
+///
2034
+/// For the reason that different runtimes have diffrent specificatons on the
2035
+/// return value of the `main` function, this trait is likely to be available
2036
+/// only on standard library's runtime for type convenience.
2037
#[cfg_attr(not(test), lang = "termination")]
2038
#[unstable(feature = "termination_trait_lib", issue = "43301")]
2039
#[rustc_on_unimplemented(
0 commit comments