31
Rust Foundation Security Initiative Report
(foundation.rust-lang.org)
Welcome to the Rust community! This is a place to discuss about the Rust programming language.
Credits
Hello kornel.
Assuming you have the data, do you mind sharing how many crates in their latest version use compiler plugins?
At least 69K, which is over half of all crates — https://lib.rs/quote is used almost exclusively for output of proc macros.
Oh, we are calling
proc-macro
crates "compiler plugins"! I didn't realize.They are
dlopen
ed by the rustc process. You can totally mess with it: https://nitter.net/m_ou_se/status/1368632701448818691I'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
, likeclippy
?