chore: upgrade to rust 1.80 (#1553)

This commit is contained in:
Satya Rohith 2024-07-30 11:33:27 +05:30 committed by GitHub
parent 65bee4d15e
commit 93d18d3eb8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,5 @@
[toolchain] [toolchain]
channel = "1.79.0" channel = "1.80.0"
components = ["rustfmt", "clippy"] components = ["rustfmt", "clippy"]
targets = [ targets = [
"x86_64-apple-darwin", "x86_64-apple-darwin",

View File

@ -235,6 +235,8 @@ pub struct FastApiTypedArray<T: Default> {
data: *mut T, data: *mut T,
} }
// FastApiOneByteString is an alias for SeqOneByteString and the type is widely used in deno_core.
#[allow(dead_code)]
#[repr(C)] #[repr(C)]
pub struct FastApiOneByteString { pub struct FastApiOneByteString {
data: *const u8, data: *const u8,

View File

@ -5202,6 +5202,7 @@ fn equality_edge_cases() {
} }
#[test] #[test]
#[allow(clippy::mutable_key_type)]
fn get_hash() { fn get_hash() {
use std::collections::HashMap; use std::collections::HashMap;
use std::collections::HashSet; use std::collections::HashSet;