Uh oh!
There was an error while loading. Please reload this page.
Add a default filter for library/std to build if there are no filters - #77489
Add a default filter for library/std to build if there are no filters#77489jyn514 wants to merge 1 commit into
library/std to build if there are no filters#77489Conversation
- 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
tmiasko
commented
Oct 3, 2020
Could we bump changelog-seen in config.toml.example along with bumps to the major version? |
petrochenkov
commented
Oct 3, 2020
I disagree with this, it's one more change that requires passing extra options in the common case.
|
jyn514
commented
Oct 3, 2020
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. |
petrochenkov
commented
Oct 3, 2020
I haven't seen this specific MCP. |
jyn514
commented
Oct 3, 2020
This was rust-lang/compiler-team#351. |
jyn514
commented
Oct 3, 2020
Do you often use |
| None. | ||
| ## [Version 3] - 2020-10-03 |
There was a problem hiding this comment.
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.
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?
bors
commented
Oct 4, 2020
☔ 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: |
petrochenkov
commented
Oct 4, 2020
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 filtersbuild 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