We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de19e4d commit 4e7c348Copy full SHA for 4e7c348
library/std/src/process.rs
@@ -1898,6 +1898,9 @@ pub fn exit(code: i32) -> ! {
1898
/// process, no destructors on the current stack or any other thread's stack
1899
/// will be run.
1900
///
1901
+/// Rust IO buffers (eg, from `BufWriter`) will not be flushed.
1902
+/// Likewise, C stdio buffers will (on most platforms) not be flushed.
1903
+///
1904
/// This is in contrast to the default behaviour of [`panic!`] which unwinds
1905
/// the current thread's stack and calls all destructors.
1906
/// When `panic="abort"` is set, either as an argument to `rustc` or in a
0 commit comments