make test use nightly

This commit is contained in:
Tom Dohrmann 2020-04-16 12:07:15 +02:00
parent 60a61d471a
commit 6fc37f5611

View File

@ -460,6 +460,7 @@ fn cross_doctests() {
// This tests the library and runs the doc tests.
p.cargo("test -v -Z doctest-xcompile --target")
.arg(&target)
.masquerade_as_nightly_cargo()
.with_stderr(&format!(
"\
[COMPILING] foo v0.0.1 ([CWD])