petr-utils

common utilities for the petr compiler and tooling

1 unstable release

0.1.0 Jul 23, 2024
Download history 22/week @ 2024-07-27 19/week @ 2024-08-10 25/week @ 2024-08-17 38/week @ 2024-08-24 57/week @ 2024-08-31 17/week @ 2024-09-07 44/week @ 2024-09-14 49/week @ 2024-09-21 35/week @ 2024-09-28 7/week @ 2024-10-05 16/week @ 2024-10-12 17/week @ 2024-10-19 20/week @ 2024-10-26 21/week @ 2024-11-02 3/week @ 2024-11-09

61 downloads per month
Used in 13 crates (9 directly)

MIT license

19KB
542 lines

Turning on the "Debug" feature for this crate will use an inefficient global lock to store the symbol names and render them as readable. For production uses, these IDs are turned into usizes. Trait for pretty-printing compiler internals Primarily used for testing and debugging purposes

Dependencies

~1.6–2.3MB
~41K SLoC