-
Notifications
You must be signed in to change notification settings - Fork 13k
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
Rename -Zparse-only
#133590
Rename -Zparse-only
#133590
Conversation
I was surprised to find that running with `-Zparse-only` only parses the crate root file. Other files aren't parsed because that happens later during expansion. This commit renames the option and updates the help message to make this clearer.
To clarify how it works.
Individual commits have more details. Additional discussion on Zulip. |
@bors r+ |
…stebank Rename `-Zparse-only` It's a misleading name. r? `@estebank`
Rollup of 7 pull requests Successful merges: - rust-lang#133466 (Fix typos in pin.rs) - rust-lang#133530 (Use consistent wording in docs, use is zero instead of is 0) - rust-lang#133565 (chore: fix 404 status URL) - rust-lang#133575 (Fix typo in RELEASES.md) - rust-lang#133577 (Document s390x machine access via community cloud) - rust-lang#133583 (Fix type (exit → exist)) - rust-lang#133590 (Rename `-Zparse-only`) Failed merges: - rust-lang#133584 (Update more 2024 tests to remove -Zunstable-options) r? `@ghost` `@rustbot` modify labels: rollup
Rollup of 7 pull requests Successful merges: - rust-lang#133466 (Fix typos in pin.rs) - rust-lang#133530 (Use consistent wording in docs, use is zero instead of is 0) - rust-lang#133565 (chore: fix 404 status URL) - rust-lang#133575 (Fix typo in RELEASES.md) - rust-lang#133577 (Document s390x machine access via community cloud) - rust-lang#133583 (Fix type (exit → exist)) - rust-lang#133590 (Rename `-Zparse-only`) Failed merges: - rust-lang#133584 (Update more 2024 tests to remove -Zunstable-options) r? `@ghost` `@rustbot` modify labels: rollup
…stebank Rename `-Zparse-only` It's a misleading name. r? ``@estebank``
Rollup of 7 pull requests Successful merges: - rust-lang#131323 (Support `clobber_abi` in AVR inline assembly) - rust-lang#133092 (Always set the deployment target when building std) - rust-lang#133134 (Don't use a SyntheticProvider for literally every type) - rust-lang#133538 (Better diagnostic for fn items in variadic functions) - rust-lang#133590 (Rename `-Zparse-only`) - rust-lang#133592 (Misc: better instructions for envrc, ignore `/build` instead of `build/`) - rust-lang#133608 (Revert rust-lang#133418 (Store coverage source regions as `Span`) due to regression rust-lang#133606) r? `@ghost` `@rustbot` modify labels: rollup
…stebank Rename `-Zparse-only` It's a misleading name. r? ```@estebank```
…iaskrgr Rollup of 8 pull requests Successful merges: - rust-lang#132782 (improvements on initial sysroot and libdir finding logics) - rust-lang#133134 (Don't use a SyntheticProvider for literally every type) - rust-lang#133466 (Fix typos in pin.rs) - rust-lang#133492 (bootstrap: allow skipping steps with start of path) - rust-lang#133501 (support revealing defined opaque post borrowck) - rust-lang#133530 (Use consistent wording in docs, use is zero instead of is 0) - rust-lang#133538 (Better diagnostic for fn items in variadic functions) - rust-lang#133590 (Rename `-Zparse-only`) r? `@ghost` `@rustbot` modify labels: rollup
…iaskrgr Rollup of 7 pull requests Successful merges: - rust-lang#132782 (improvements on initial sysroot and libdir finding logics) - rust-lang#133466 (Fix typos in pin.rs) - rust-lang#133492 (bootstrap: allow skipping steps with start of path) - rust-lang#133501 (support revealing defined opaque post borrowck) - rust-lang#133530 (Use consistent wording in docs, use is zero instead of is 0) - rust-lang#133538 (Better diagnostic for fn items in variadic functions) - rust-lang#133590 (Rename `-Zparse-only`) r? `@ghost` `@rustbot` modify labels: rollup
Is there a flag that actually does only the parsing (and the macro expansion)? |
Rollup merge of rust-lang#133590 - nnethercote:rename-parse-only, r=estebank Rename `-Zparse-only` It's a misleading name. r? ````@estebank````
|
|
It's a misleading name.
r? @estebank