Rustacean Station  cover image

What's New in Rust 1.40

Rustacean Station

CHAPTER

Macro Rules, Procedure Macros in Rust

All kinds of macros are now usable within extern blocks. You can also do things that put attributes on these extern fn a definitions. The meto matcher matches anything that looks like a attribute style macro. Previously it was just like path brackets and then attributes, whereas now they're leading more towards you should allow any kind of russindax in there. And the last one though, i think is interesting because it's a, it's a little bit odd when you first look at it.

00:00
Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner