about summary refs log tree commit diff
path: root/library/std/src/sys/unix/process/process_unix.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-08-10 07:21:33 +0200
committerGitHub <noreply@github.com>2022-08-10 07:21:33 +0200
commite10f924e278f3b792bd8e9c2eb4c5012c1746a7c (patch)
tree850acf96d8a150d6054a1d75267a9674bf06c7a4 /library/std/src/sys/unix/process/process_unix.rs
parent34a6cae28e7013ff0e640026a8e46f315426829d (diff)
parent21396828e4743cd5ff50488b98ee3fbfa150dee4 (diff)
downloadrust-e10f924e278f3b792bd8e9c2eb4c5012c1746a7c.tar.gz
rust-e10f924e278f3b792bd8e9c2eb4c5012c1746a7c.zip
Rollup merge of #99573 - tbodt:stabilize-backtrace, r=yaahc
Stabilize backtrace

This PR stabilizes the std::backtrace module. As of #99431, the std::Error::backtrace item has been removed, and so the rest of the backtrace feature is set to be stabilized.

Previous discussion can be found in #72981, #3156.

Stabilized API summary:
```rust
pub mod std {
    pub mod backtrace {
        pub struct Backtrace { }
        pub enum BacktraceStatus {
            Unsupported,
            Disabled,
            Captured,
        }
        impl fmt::Debug for Backtrace {}
        impl Backtrace {
            pub fn capture() -> Backtrace;
            pub fn force_capture() -> Backtrace;
            pub const fn disabled() -> Backtrace;
            pub fn status(&self) -> BacktraceStatus;
        }
        impl fmt::Display for Backtrace {}
    }
}
```

`@yaahc`
Diffstat (limited to 'library/std/src/sys/unix/process/process_unix.rs')
0 files changed, 0 insertions, 0 deletions