Skip to content

Make ./x.py <cmd> compiler/<crate> aware of the crate's features - #129781

Merged
bors merged 1 commit into
rust-lang:masterfrom
Veykril:lw-x-py-compiler-features
Sep 6, 2024
Merged

Make ./x.py <cmd> compiler/<crate> aware of the crate's features#129781
bors merged 1 commit into
rust-lang:masterfrom
Veykril:lw-x-py-compiler-features

Conversation

@Veykril

Copy link
Copy Markdown
Member

Does not fix#129727 on its own as the way the parallel-compiler cfg and feature flags are setup being generally incompatible with resolver = 2 but it progresses on the issue. But this should in theory allow compiler crates to work that do not depend on the parallel compiler stuff (so some leaf crates).

@rustbot

Copy link
Copy Markdown
Collaborator

r? @albertlarsan68

rustbot has assigned @albertlarsan68.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rustbotrustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) labels Aug 30, 2024
@rust-log-analyzer

This comment has been minimized.

@Veykril
Veykrilforce-pushed the lw-x-py-compiler-features branch from dba3f06 to 39e3addCompareAugust 30, 2024 10:55

@albertlarsan68albertlarsan68 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@albertlarsan68

Copy link
Copy Markdown
Member

Thanks for the PR!
@bors r+

@bors

bors commented Sep 4, 2024

Copy link
Copy Markdown
Collaborator

📌 Commit 39e3add has been approved by albertlarsan68

It is now in the queue for this repository.

@borsbors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Sep 4, 2024
workingjubilee added a commit to workingjubilee/rustc that referenced this pull request Sep 6, 2024
… r=albertlarsan68
Make `./x.py <cmd> compiler/<crate>` aware of the crate's features
Does not fixrust-lang#129727 on its own as the way the parallel-compiler cfg and feature flags are setup being generally incompatible with `resolver = 2` but it progresses on the issue. But this should in theory allow compiler crates to work that do not depend on the parallel compiler stuff (so some leaf crates).
workingjubilee added a commit to workingjubilee/rustc that referenced this pull request Sep 6, 2024
… r=albertlarsan68
Make `./x.py <cmd> compiler/<crate>` aware of the crate's features
Does not fixrust-lang#129727 on its own as the way the parallel-compiler cfg and feature flags are setup being generally incompatible with `resolver = 2` but it progresses on the issue. But this should in theory allow compiler crates to work that do not depend on the parallel compiler stuff (so some leaf crates).
bors added a commit to rust-lang-ci/rust that referenced this pull request Sep 6, 2024
…kingjubilee
Rollup of 14 pull requests
Successful merges:
- rust-lang#128919 (Add an internal lint that warns when accessing untracked data)
- rust-lang#129021 (Check WF of source type's signature on fn pointer cast)
- rust-lang#129472 (fix ICE when `asm_const` and `const_refs_to_static` are combined)
- rust-lang#129653 (clarify that addr_of creates read-only pointers)
- rust-lang#129775 (bootstrap: Try to track down why `initial_libdir` sometimes fails)
- rust-lang#129781 (Make `./x.py <cmd> compiler/<crate>` aware of the crate's features)
- rust-lang#129939 (explain why Rvalue::Len still exists)
- rust-lang#129942 (copy rustc rustlib artifacts from ci-rustc)
- rust-lang#129944 (Add compat note for trait solver change)
- rust-lang#129947 (Add digit separators in `Duration` examples)
- rust-lang#129955 (Temporarily remove fmease from the review rotation)
- rust-lang#129957 (forward linker option to lint-docs)
- rust-lang#129969 (Make `Ty::boxed_ty` return an `Option`)
- rust-lang#129995 (Remove wasm32-wasip2's tier 2 status from release notes)
r? `@ghost`
`@rustbot` modify labels: rollup
bors added a commit to rust-lang-ci/rust that referenced this pull request Sep 6, 2024
…iaskrgr
Rollup of 6 pull requests
Successful merges:
- rust-lang#129021 (Check WF of source type's signature on fn pointer cast)
- rust-lang#129781 (Make `./x.py <cmd> compiler/<crate>` aware of the crate's features)
- rust-lang#129963 (Inaccurate `{Path,OsStr}::to_string_lossy()` documentation)
- rust-lang#129969 (Make `Ty::boxed_ty` return an `Option`)
- rust-lang#129995 (Remove wasm32-wasip2's tier 2 status from release notes)
- rust-lang#130013 (coverage: Count await when the Future is immediately ready )
r? `@ghost`
`@rustbot` modify labels: rollup
@bors
bors merged commit b09f316 into rust-lang:masterSep 6, 2024
@rustbotrustbot added this to the 1.83.0 milestone Sep 6, 2024
rust-timer added a commit to rust-lang-ci/rust that referenced this pull request Sep 6, 2024
Rollup merge of rust-lang#129781 - Veykril:lw-x-py-compiler-features, r=albertlarsan68
Make `./x.py <cmd> compiler/<crate>` aware of the crate's features
Does not fixrust-lang#129727 on its own as the way the parallel-compiler cfg and feature flags are setup being generally incompatible with `resolver = 2` but it progresses on the issue. But this should in theory allow compiler crates to work that do not depend on the parallel compiler stuff (so some leaf crates).
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

./x.py test compiler/rustc_abi no longer works

5 participants

@Veykril@rustbot@rust-log-analyzer@albertlarsan68@bors