-
Notifications
You must be signed in to change notification settings - Fork 14k
Add a default filter for library/std to build if there are no filters
#77489
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
Conversation
- Add an opt-in way to build all tools with `x.py build src/tools` - Add an entry in the changelog - Bump the major version
|
Could we bump changelog-seen in config.toml.example along with bumps to the major version? |
|
I disagree with this, it's one more change that requires passing extra options in the common case.
|
|
I really wish you would bring this stuff up during the MCP process. All of these are reasonable objections to a decision that happened a month ago. |
|
I haven't seen this specific MCP. |
|
This was rust-lang/compiler-team#351. |
Do you often use |
|
|
||
| None. | ||
|
|
||
| ## [Version 3] - 2020-10-03 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this is worth a major change -- it will build strictly less than before, right? People don't need to be notified of changes that likely don't affect their workflow. The host/build change was much more likely to break your build in a confusing way, here you're just going to get less built and can easily opt back in.
| "build" | "b" => Subcommand::Build { paths }, | ||
| "build" | "b" => { | ||
| if paths.is_empty() { | ||
| paths.push(PathBuf::from("library/std")); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This feels very odd. This seems no different than just removing DEFAULT = true from all of the build-called steps except std; why is that not the approach taken here?
|
☔ The latest upstream changes (presumably #77517) made this pull request unmergeable. Please resolve the merge conflicts. Note that reviewers usually do not review pull requests until merge conflicts are resolved! Once you resolve the conflicts, you should change the labels applied by bors to indicate that your PR is ready for review. Post this as a comment to change the labels: |
I honestly don't know any use cases for running |
|
I don't feel very strongly about this. @jonas-schievink or @tmandry feel free to take this over if you're interested. |
library/std if there are no filtersbuild for library/std if there are no filters
build for library/std if there are no filterslibrary/std to build if there are no filters
x.py build src/toolsThis implements rust-lang/compiler-team#351.
r? @Mark-Simulacrum on the implementation