StackOverflow Questions for Tag: rust-compiler-plugin

llogiq
llogiq

Reputation: 14511

How to correctly deal with spans in procedural macros?

Score: 5

Views: 112

Answers: 1

Read More
llogiq
llogiq

Reputation: 14511

How to find out what type a rustc::middle::ty::Ty represents?

Score: 6

Views: 120

Answers: 1

Read More
llogiq
llogiq

Reputation: 14511

How to process expanded macros from within procedural macros?

Score: 3

Views: 298

Answers: 1

Read More
llogiq
llogiq

Reputation: 14511

How to get a tuple out of a ConstVal?

Score: 1

Views: 95

Answers: 1

Read More
antoyo
antoyo

Reputation: 11913

Is there a clean way to have a global mutable state in a Rust plugin?

Score: 6

Views: 4290

Answers: 1

Read More
Jan Hohenheim
Jan Hohenheim

Reputation: 3752

How can I retrieve the full path of a trait bound in a Rust compiler plugin?

Score: 4

Views: 89

Answers: 1

Read More
Qoros
Qoros

Reputation: 513

Macros and Rust compiler plugin conflicts

Score: 1

Views: 145

Answers: 0

Read More
neon64
neon64

Reputation: 1516

How do I properly register a Rust compiler plugin?

Score: 2

Views: 732

Answers: 1

Read More
Lukas Kalbertodt
Lukas Kalbertodt

Reputation: 88516

What types of Macros/Syntax Extensions/Compiler Plugins are there?

Score: 10

Views: 674

Answers: 1

Read More
Qoros
Qoros

Reputation: 513

How to load Rust compiler plugins without modifying the source code?

Score: 2

Views: 555

Answers: 1

Read More
3Hren
3Hren

Reputation: 23

How can I get original AST by trait identifier with syntax extensions?

Score: 2

Views: 708

Answers: 1

Read More
Feng Cen
Feng Cen

Reputation: 179

How to get struct fields and fields type in a compiler plugin?

Score: 2

Views: 194

Answers: 1

Read More
mako
mako

Reputation: 1303

How to document macros from a Rust compiler plugin?

Score: 3

Views: 346

Answers: 1

Read More
Daniel Fath
Daniel Fath

Reputation: 18059

Can I use compiler plugins on stable Rust?

Score: 6

Views: 587

Answers: 1

Read More
Shisoft
Shisoft

Reputation: 4245

Can I build a compiler plugin with a post processor to generate code from previous collected derived structs?

Score: 1

Views: 80

Answers: 0

Read More
Qoros
Qoros

Reputation: 513

What is the proper way to create a Span when inserting a new field with a Rust compiler plugin?

Score: 6

Views: 348

Answers: 0

Read More
Lukas Kalbertodt
Lukas Kalbertodt

Reputation: 88516

Why isn't `regex!` a wrapper for `Regex::new` to offer the same regex matching speed?

Score: 21

Views: 4446

Answers: 1

Read More
Feng Cen
Feng Cen

Reputation: 179

What's the difference between a macro and a compiler plugin?

Score: 3

Views: 583

Answers: 1

Read More
knight42
knight42

Reputation: 910

How to write a Rust compiler plugin that generates a module?

Score: 6

Views: 503

Answers: 1

Read More
llogiq
llogiq

Reputation: 14511

How to modify all items of a crate in a compiler plugin?

Score: 5

Views: 130

Answers: 1

Read More
PreviousPage 1Next