Currently, I failed to build compiletest out-of-box using rustc-1.17.0.
My configuration is a bit particular: it is the package distribution system of OpenBSD. So I first build rustc using 1.16.0 version, and next I rebuild it using itself (using local-rebuild feature). And now when testing the binary, it fails to build compiletest.
The compilation of rustc-1.17.0-src/src/tools/compiletest/src/main.rs
failed due to use of #![feature(static_in_const)]
. A warning is issued
(this feature has been stable since 1.17.0. Attribute no longer needed
), and warnings are denied.
I have locally patched compiletest, but prefer to let know that testsuite isn’t runnable out-of-box in context of local-rebuild.