Skip to content

rustdoc: add missing {os,target,target_env} values for cfg pretty printer#154328

Draft
scrabsha wants to merge 1 commit intorust-lang:mainfrom
scrabsha:push-tkozopuzoorz
Draft

rustdoc: add missing {os,target,target_env} values for cfg pretty printer#154328
scrabsha wants to merge 1 commit intorust-lang:mainfrom
scrabsha:push-tkozopuzoorz

Conversation

@scrabsha
Copy link
Contributor

(draft because i want to see what CI says of this before bothering people. i don't really know who to ask review to, feel free to assign yourself)

@rustbot rustbot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. labels Mar 24, 2026
@rust-log-analyzer
Copy link
Collaborator

The job x86_64-gnu-tools failed! Check out the build log: (web) (plain enhanced) (plain)

Click to see the possible cause of the failure (guessed by this bot)
..........................................         (142/142)

======== tests/rustdoc-gui/item-info-overflow.goml ========

[ERROR] line 9: The following errors happened: [`Available on Android or Linux or Emscripten or DragonFlyBSD or FreeBSD or NetBSD or OpenBSD only.` doesn't start with `Available on Android or Linux or Emscripten or DragonFly BSD` (for STARTS_WITH check)]: for command `assert-text: (
    ".item-info",
    "Available on Android or Linux or Emscripten or DragonFly BSD",
    STARTS_WITH,
)`
    at <file:///checkout/obj/build/x86_64-unknown-linux-gnu/test/rustdoc-gui/doc/lib2/struct.LongItemInfo.html>
[ERROR] line 27: The following errors happened: [`Available on Android or Linux or Emscripten or DragonFlyBSD or FreeBSD or NetBSD or OpenBSD only.` doesn't start with `Available on Android or Linux or Emscripten or DragonFly BSD` (for STARTS_WITH check)]: for command `assert-text: (
    "#impl-SimpleTrait-for-LongItemInfo2 .item-info",
    "Available on Android or Linux or Emscripten or DragonFly BSD",
    STARTS_WITH,
)`
    at <file:///checkout/obj/build/x86_64-unknown-linux-gnu/test/rustdoc-gui/doc/lib2/struct.LongItemInfo2.html>


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants