Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dogamak
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
2 ms
·
1.
▲
by
dogamak
10y ago
Additionally tests in "tests/" are compiled to independent binaries on which the test suite is run on separately, which results into verbose and redundant output when ran. Also if you keep your tests under "src/&qu
2.
▲
by
dogamak
10y ago
I agree, the macro scoping is just a small part of the rewrite but it is a problem (especially ergonomically) that rust should have got right the first time around. Right now macros don't quite feel like they are part of the core langu
3.
▲
by
dogamak
10y ago
Macros and the importing and scoping of them is a mess in rust right now and major rewrite of the macro system is underway. Currently crates have no way to re-export macros from other crates and #[use_macros] brings all macros in the import