What is the best way to test "compiler-heavy" code in @rustlang?
Making sure that certain constructs (e.g. procedural macro applied to a struct) compile or that certain combinations DO NOT compile.
The only thing I have found so far is compiletest_rs, should I start from there?
-
-
Replying to @algo_luca @rustlang
trybuild might be helpful:https://github.com/dtolnay/trybuild …
1 reply 0 retweets 5 likes
Replying to @florianwalch @rustlang
Wow, that looks useful!
1:40 PM - 24 Jun 2019
0 replies
0 retweets
0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
Writing about stuff to learn how it works, mostly in Rust.
Lead Engineer at