Y
Hacker News
new
|
ask
|
show
|
jobs
by
greenshackle2
1870 days ago
You can also just put arbitrary code in build.rs, it will be run by cargo check, rust-analyzer, etc. Though I admit macro expansion hacks are more fun and easier to hide.