Skip to content
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

updated dependencies in library package #131574

Closed
wants to merge 3 commits into from
Closed

Conversation

Makuo12
Copy link

@Makuo12 Makuo12 commented Oct 11, 2024

Updated some dependencies

All crates in the library package now have the most recent versions of their dependencies.
Also built each crate with the dependency updated to check it works properly.

@rustbot
Copy link
Collaborator

rustbot commented Oct 11, 2024

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @Amanieu (or someone else) some time within the next two weeks.

Please see the contribution instructions for more information. Namely, in order to ensure the minimum review times lag, PR authors and assigned reviewers should ensure that the review label (S-waiting-on-review and S-waiting-on-author) stays updated, invoking these commands when appropriate:

  • @rustbot author: the review is finished, PR author should check the comments and take action accordingly
  • @rustbot review: the author is ready for a review, this PR will be queued again in the reviewer's queue

@rustbot
Copy link
Collaborator

rustbot commented Oct 11, 2024

These commits modify the library/Cargo.lock file. Unintentional changes to library/Cargo.lock can be introduced when switching branches and rebasing PRs.

If this was unintentional then you should revert the changes before this PR is merged.
Otherwise, you can ignore this comment.

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-libs Relevant to the library team, which will review and decide on the PR/issue. labels Oct 11, 2024
@rust-log-analyzer

This comment has been minimized.

Comment on lines -18 to +22
compiler_builtins = "0.1.0"
compiler_builtins = "0.1.133"
cfg-if = { version = "1.0", features = ['rustc-dep-of-std'] }

[target.'cfg(not(all(windows, target_env = "msvc")))'.dependencies]
libc = { version = "0.2", default-features = false }
libc = { version = "0.2.159", default-features = false }
Copy link
Contributor

Choose a reason for hiding this comment

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

We want to pin these crates in only one place to reduce the number of places that need to be updated when bumping them. So libc should be left as-is, compiler_builtins can be left as-is or turned into only = "0.1". (This applies a few places).

We could probably also use workspace dependencies to make things more clear, but this is probably something that should be brought up on Zulip first since it could affect the ability of the crates to build in different workspaces.

Copy link
Member

Choose a reason for hiding this comment

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

The library is its own workspace now, isn't it?

Copy link
Contributor

Choose a reason for hiding this comment

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

Yeah, I was mostly thinking about crates that wind up being part of different workspaces at different times through submodules or symlinks. Miri has some unusual things like that but I do doubt there is anything relevant in library/.

@tgross35
Copy link
Contributor

tgross35 commented Oct 12, 2024

For the tidy error you'll have to update PERMITTED_STDLIB_DEPENDENCIES in deps.rs since adler has been replaced with adler2.

@rustbot author

@rustbot rustbot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Oct 12, 2024
@rustbot rustbot added A-testsuite Area: The testsuite used to check the correctness of rustc T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) labels Oct 12, 2024
@rustbot
Copy link
Collaborator

rustbot commented Oct 12, 2024

The list of allowed third-party dependencies may have been modified! You must ensure that any new dependencies have compatible licenses before merging.

cc @davidtwco, @wesleywiser

@rustbot rustbot added the has-merge-commits PR has merge commits, merge with caution. label Oct 12, 2024
@rustbot
Copy link
Collaborator

rustbot commented Oct 12, 2024

There are merge commits (commits with multiple parents) in your changes. We have a no merge policy so these commits will need to be removed for this pull request to be merged.

You can start a rebase with the following commands:

$ # rebase
$ git pull --rebase https://github.com/rust-lang/rust.git master
$ git push --force-with-lease

The following commits are merge commits:

@Makuo12 Makuo12 closed this Oct 12, 2024
@Makuo12
Copy link
Author

Makuo12 commented Oct 12, 2024

@tgross35 I have updated adler to adler2 and the tidy check is successful. I want to create a new pull request.

@Makuo12 Makuo12 reopened this Oct 12, 2024
@Makuo12 Makuo12 closed this Oct 12, 2024
@Makuo12
Copy link
Author

Makuo12 commented Oct 12, 2024

@tgross35 the new pull request is at #131577

@Makuo12
Copy link
Author

Makuo12 commented Oct 12, 2024

Hey @tgross35
Sorry, I thought I had to because I made new changes, but now I understand what you mean. Should I still try to update dependencies in other crates apart from the library crate?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-testsuite Area: The testsuite used to check the correctness of rustc has-merge-commits PR has merge commits, merge with caution. S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-libs Relevant to the library team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants