rust/compiler/rustc_feature/src
Guillaume Gomez 239287f013
Rollup merge of #97028 - ridwanabdillahi:pretty-printer, r=michaelwoerister
Add support for embedding pretty printers via `#[debugger_visualizer]` attribute

Initial support for [RFC 3191](https://github.com/rust-lang/rfcs/pull/3191) in PR https://github.com/rust-lang/rust/pull/91779 was scoped to supporting embedding NatVis files using a new attribute. This PR implements the pretty printer support as stated in the RFC mentioned above.

This change includes embedding pretty printers in the `.debug_gdb_scripts` just as the pretty printers for rustc are embedded today. Also added additional tests for embedded pretty printers. Additionally cleaned up error checking so all error checking is done up front regardless of the current target.

RFC: https://github.com/rust-lang/rfcs/pull/3191
2022-05-29 01:12:30 +02:00
..
accepted.rs Stabilize derive_default_enum 2022-04-07 20:03:19 -04:00
active.rs Rollup merge of #96913 - Urgau:rfc3239-part2, r=petrochenkov 2022-05-25 10:48:28 +02:00
builtin_attrs.rs Add support for embedding pretty printers via the #[debugger_visualizer] attribute. Add tests for embedding pretty printers and update documentation. 2022-05-24 11:14:48 -07:00
lib.rs don't encode only locally used attrs 2022-05-10 08:09:37 +02:00
removed.rs Remove feature: crate visibility modifier 2022-05-21 14:22:06 -04:00
tests.rs tidy: Re-enable check for inline unit tests 2020-12-12 19:18:44 +03:00