You are viewing a single thread.
View all comments View context
1 point

At least 69K, which is over half of all crates — https://lib.rs/quote is used almost exclusively for output of proc macros.

permalink
report
parent
reply
1 point

Oh, we are calling proc-macro crates “compiler plugins”! I didn’t realize.

permalink
report
parent
reply
1 point
*

They are dlopened by the rustc process. You can totally mess with it: https://nitter.net/m_ou_se/status/1368632701448818691

permalink
report
parent
reply
2 points

I’m aware.

I just find calling the average proc-macro crate a “compiler plugin” a little bit baffling/confusing.

Isn’t the term “compiler plugin” reserved for crates/tools that depend on rustc, like clippy?

permalink
report
parent
reply

Rust

!rust@programming.dev

Create post

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

!performance@programming.dev

Credits
  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

Community stats

  • 621

    Monthly active users

  • 851

    Posts

  • 3.4K

    Comments