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" module_name_repetitions = "allow"
must_use_candidate = "allow" must_use_candidate = "allow"
similar_names = "allow" similar_names = "allow"
too_many_lines = "allow"
too_many_arguments = "allow" too_many_arguments = "allow"
too_many_lines = "allow"
used_underscore_binding = "allow"
# Disallowed restriction lints # Disallowed restriction lints
print_stdout = "warn" print_stdout = "warn"
print_stderr = "warn" print_stderr = "warn"

View File

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

View File

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

View File

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