Open glandium opened 6 years ago
Tests never worked. I didn't see much value in retaining them as the source is a straight port from Rust's git master, which should have all the tests already being run.
I assume you're talking about this comment:
// Needed for older compilers, to ignore vec!/format! macros in tests
The compiler used to expand macros in conditionally-compiled items that were not enabled. Thus, non-test builds would fail to compile when encountering undefined macros in the tests. This is no longer the case.
You're welcome to make the tests work and submit a PR. See the instructions for editing patches.
While
src/lib.rs
has a few definitions claiming they are there to make tests build, they fail to build. I guess they used to build a long time ago.