From 9d4923d39d8dcab4ff0c034546a4b7073db21765 Mon Sep 17 00:00:00 2001 From: Jaby Date: Mon, 20 Jan 2025 22:39:59 +0000 Subject: [PATCH] Update Rust to latest version --- podman/scripts/install_rust.sh | 2 +- src/Tools/cdtypes/src/cd/reader.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/podman/scripts/install_rust.sh b/podman/scripts/install_rust.sh index 1ad8759e..0d515eb1 100755 --- a/podman/scripts/install_rust.sh +++ b/podman/scripts/install_rust.sh @@ -2,7 +2,7 @@ echo "<<< Install Rust prerequisites >>>" apt install -y curl -RUST_VERSION=1.78.0 +RUST_VERSION=1.84.0 echo "<<< Install Rust $RUST_VERSION >>>" curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain=$RUST_VERSION -y . "$HOME/.cargo/env" diff --git a/src/Tools/cdtypes/src/cd/reader.rs b/src/Tools/cdtypes/src/cd/reader.rs index ed25726c..377a5ab8 100644 --- a/src/Tools/cdtypes/src/cd/reader.rs +++ b/src/Tools/cdtypes/src/cd/reader.rs @@ -20,7 +20,7 @@ pub struct Reader<'a> { impl<'a> Reader<'a> { const CD_PREGAP_SECTORS:usize = Time::cd_pregap().as_sectors(); - pub fn new(file: std::fs::File, data_type_guide: &'a Vec, unk_sector_behav: UnknownSectorBehavior) -> Result { + pub fn new(file: std::fs::File, data_type_guide: &Vec, unk_sector_behav: UnknownSectorBehavior) -> Result { Ok(Reader{ file, data_type_guide, unk_sector_behav, lba: Self::CD_PREGAP_SECTORS, active: true })