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

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.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.