-
Notifications
You must be signed in to change notification settings - Fork 13.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rustdoc ignore-*
markdown attribute ignores everything
#138863
Comments
As a result of the investigation, it appears that this issue is occurring due to changes in how When rust/src/librustdoc/html/markdown.rs Lines 1203 to 1204 in aa95b96
It matches the following arm in current nightly. rust/src/librustdoc/html/markdown.rs Line 1261 in aa8f0fd
One concern, however, is that the original handling of |
Well, oops. 😅 |
…r-doctests, r=<try> Ignore doctests only in specified targets Quick fix for rust-lang#138863 cc `@yotamofek` `@notriddle`
Here is the quick fix for that if necessary. #138877 |
…for-doctests, r=notriddle Ignore doctests only in specified targets Quick fix for rust-lang#138863 FIxes rust-lang#138863 cc `@yotamofek` `@notriddle`
…for-doctests, r=notriddle Ignore doctests only in specified targets Quick fix for rust-lang#138863 FIxes rust-lang#138863 cc ``@yotamofek`` ``@notriddle``
Rollup merge of rust-lang#138877 - TaKO8Ki:enable-per-target-ignores-for-doctests, r=notriddle Ignore doctests only in specified targets Quick fix for rust-lang#138863 FIxes rust-lang#138863 cc `@yotamofek` `@notriddle`
@weihanglo @yotamofek @notriddle The quick fix was merged. |
Run
rustdoc --test lib.rs
on aarch64, this doesn't seem to run doctest, while previously it did.Steps
Meta
rustdoc 1.87.0-nightly (b48576b4d 2025-03-22)
rustdoc 1.87.0-nightly (be73c1f46 2025-03-21)
Possibly caused by #138535.
See also rust-lang/cargo#15193 (comment).
The text was updated successfully, but these errors were encountered: