Rustdoc examples-as-tests in libstd - how to run?


#1

What x.py incantation will run rustdoc examples-as-tests for libstd?

./x.py test src/libstd

does not appear to do it, and

rustdoc --test src/libstd/foo.rs

does not work because it treats foo.rs as its own crate rather than a libstd component.