diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-08-10 07:21:33 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-10 07:21:33 +0200 |
| commit | e10f924e278f3b792bd8e9c2eb4c5012c1746a7c (patch) | |
| tree | 850acf96d8a150d6054a1d75267a9674bf06c7a4 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp | |
| parent | 34a6cae28e7013ff0e640026a8e46f315426829d (diff) | |
| parent | 21396828e4743cd5ff50488b98ee3fbfa150dee4 (diff) | |
| download | rust-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 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
