whitespace, delete unstable book page
This commit is contained in:
parent
05c1e6b1db
commit
5c34f7788f
2 changed files with 1 additions and 28 deletions
|
@ -405,7 +405,7 @@ pub const BUILTIN_ATTRIBUTES: &[BuiltinAttribute] = &[
|
||||||
|
|
||||||
// Debugging
|
// Debugging
|
||||||
ungated!(
|
ungated!(
|
||||||
debugger_visualizer, Normal,
|
debugger_visualizer, Normal,
|
||||||
template!(List: r#"natvis_file = "...", gdb_script_file = "...""#), DuplicatesOk
|
template!(List: r#"natvis_file = "...", gdb_script_file = "...""#), DuplicatesOk
|
||||||
),
|
),
|
||||||
|
|
||||||
|
|
|
@ -1,27 +0,0 @@
|
||||||
# `debugger_visualizer`
|
|
||||||
|
|
||||||
The tracking issue for this feature is: [#95939]
|
|
||||||
|
|
||||||
[#95939]: https://github.com/rust-lang/rust/issues/95939
|
|
||||||
|
|
||||||
------------------------
|
|
||||||
|
|
||||||
The `debugger_visualizer` attribute can be used to instruct the compiler
|
|
||||||
to embed a debugger visualizer file into the PDB/ELF generated by `rustc`.
|
|
||||||
|
|
||||||
## Examples
|
|
||||||
|
|
||||||
``` rust,ignore (partial-example)
|
|
||||||
#![feature(debugger_visualizer)]
|
|
||||||
#![debugger_visualizer(natvis_file = "foo.natvis")]
|
|
||||||
#![debugger_visualizer(gdb_script_file = "foo.py")]
|
|
||||||
struct Foo {
|
|
||||||
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
## Limitations
|
|
||||||
|
|
||||||
Currently, this feature only supports embedding Natvis files on `-windows-msvc`
|
|
||||||
targets via the `natvis_file` meta item. `-windows-gnu` targets are not currently
|
|
||||||
supported.
|
|
Loading…
Add table
Add a link
Reference in a new issue