Skip to content

Conversation

tgross35
Copy link
Contributor

@tgross35 tgross35 commented Apr 20, 2025

This crate doesn't need to be a default member since it requires the opposite settings from everything else. Exclude it from the workspace and run it only when explicitly requested.

This also makes cargo t --no-default-features work without additional qualifiers. --no-default-features still needs to be passed to ensure #![compiler_builtins] does not get set.

compiler-builtins needs doctests disabled in order for everything to work correctly, since this causes an error running rustdoc that is unrelated to features (our compiler_builtins is getting into the crate graph before that from the sysroot, but #![compiler_builtins] is not set).

We can also remove test = false and doctest = false in builtins-test since these no longer cause issues. This is unlikely to be used but it is better to not quietly skip if anything ever gets added by accident.

@tgross35 tgross35 force-pushed the workspace-updates branch 4 times, most recently from efeb010 to 7e2dba7 Compare April 20, 2025 01:41
This crate doesn't need to be a default member since it requires the
opposite settings from everything else. Exclude it from the workspace
and run it only when explicitly requested.

This also makes `cargo t --no-default-features` work without additional
qualifiers. `--no-default-features` still needs to be passed to ensure
`#![compiler_builtins]` does not get set.

compiler-builtins needs doctests disabled in order for everything to
work correctly, since this causes an error running rustdoc that is
unrelated to features (our `compiler_builtins` is getting into the crate
graph before that from the sysroot, but `#![compiler_builtins]` is not
set).

We can also remove `test = false` and `doctest = false` in
`builtins-test` since these no longer cause issues. This is unlikely to
be used but it is better to not quietly skip if anything ever gets added
by accident.
@tgross35 tgross35 force-pushed the workspace-updates branch from df3828b to ed94210 Compare April 20, 2025 02:25
@tgross35 tgross35 enabled auto-merge (rebase) April 20, 2025 02:28
@tgross35 tgross35 merged commit a5ba95e into rust-lang:master Apr 20, 2025
28 checks passed
@tgross35 tgross35 deleted the workspace-updates branch April 20, 2025 02:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant