mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
5fc562c5b1
This makes it easier for maintainers to see what the Python script is for.
13 lines
282 B
Rust
13 lines
282 B
Rust
#![debugger_visualizer(gdb_script_file = "my_gdb_script.py")]
|
|
|
|
fn main() {
|
|
const _UNUSED: u32 = {
|
|
mod inner {
|
|
#![debugger_visualizer(natvis_file = "my_visualizers/bar.natvis")]
|
|
pub const XYZ: u32 = 123;
|
|
}
|
|
|
|
inner::XYZ + 1
|
|
};
|
|
}
|