about summary refs log tree commit diff
path: root/src/test/ui/iterators/iter-sum-overflow-overflow-checks.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-09-10 12:19:41 +0000
committerbors <bors@rust-lang.org>2019-09-10 12:19:41 +0000
commit87b0c9036f0557568cfc939542508e9adf874b83 (patch)
tree5bd936742cecfc3a4e52d2b62f334432789ff8c8 /src/test/ui/iterators/iter-sum-overflow-overflow-checks.rs
parent403c0def905c58f08e5a1ce48a430522df01abf1 (diff)
parent4a2094c9f61836214d9e37fa042761948483c2d9 (diff)
downloadrust-87b0c9036f0557568cfc939542508e9adf874b83.tar.gz
rust-87b0c9036f0557568cfc939542508e9adf874b83.zip
Auto merge of #60387 - Goirad:test-expansion, r=ollie27
Allow cross-compiling doctests

This PR allows doctest to receive a --runtool argument, as well as possibly many --runtool-arg arguments, which are then used to run cross compiled doctests.
Also, functionality has been added to rustdoc to allow it to skip testing doctests on a per-target basis, in the same way that compiletest does it. For example, tagging the doctest with "ignore-sgx" disables testing on any targets that contain "sgx". A plain "ignore" still skips testing on all targets.

See [here](https://github.com/rust-lang/cargo/pull/6892) for the companion PR in the cargo project that extends functionality in Cargo so that it passes the appropriate parameters to rustdoc when cross compiling and testing doctests.

Part of [#6460](https://github.com/rust-lang/cargo/issues/6460)
Diffstat (limited to 'src/test/ui/iterators/iter-sum-overflow-overflow-checks.rs')
0 files changed, 0 insertions, 0 deletions