Bump Rust toolchain to 1.81 (#7187)

This commit is contained in:
Charlie Marsh 2024-09-08 11:09:49 -04:00 committed by GitHub
parent aca01f80ef
commit f11eebd735
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 9 additions and 7 deletions

View file

@ -192,8 +192,9 @@ missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
similar_names = "allow"
too_many_lines = "allow"
too_many_arguments = "allow"
too_many_lines = "allow"
used_underscore_binding = "allow"
# Disallowed restriction lints
print_stdout = "warn"
print_stderr = "warn"

View file

@ -1491,6 +1491,7 @@ struct Parser<'a> {
impl<'a> Parser<'a> {
/// The "separators" that are allowed in several different parts of a
/// version.
#[allow(clippy::byte_char_slices)]
const SEPARATOR: ByteSet = ByteSet::new(&[b'.', b'_', b'-']);
/// Create a new `Parser` for parsing the version in the given byte string.

View file

@ -438,7 +438,7 @@ fn add_git_private_raw() -> Result<()> {
build-backend = "setuptools.build_meta"
"#})?;
uv_snapshot!(context.filters(), context.add().arg(&format!("uv-private-pypackage @ git+https://{token}@github.com/astral-test/uv-private-pypackage")).arg("--raw-sources"), @r###"
uv_snapshot!(context.filters(), context.add().arg(format!("uv-private-pypackage @ git+https://{token}@github.com/astral-test/uv-private-pypackage")).arg("--raw-sources"), @r###"
success: true
exit_code: 0
----- stdout -----

View file

@ -4222,10 +4222,10 @@ fn fork_requires_python_full() -> Result<()> {
/// with a `python_version == '3.10'` marker.
///
/// This is a regression test for the universal resolver where it would
/// convert a `Requires-Python: >=3.10.1` specifier into a `python_version
/// >= '3.10.1'` marker expression, which would be considered disjoint
/// with `python_version == '3.10'`. Thus, the dependency `a` below was
/// erroneously excluded. It should be included.
/// convert a `Requires-Python: >=3.10.1` specifier into a
/// `python_version >= '3.10.1'` marker expression, which would be
/// considered disjoint with `python_version == '3.10'`. Thus, the
/// dependency `a` below was erroneously excluded. It should be included.
///
/// ```text
/// fork-requires-python-patch-overlap

View file

@ -1,2 +1,2 @@
[toolchain]
channel = "1.80"
channel = "1.81"