feat: bump rust version to 1.86

fixes the hardcoded `/usr/bin/strip` issue on macos

see https://github.com/rust-lang/rust/issues/131206

Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
This commit is contained in:
Harald Hoyer 2025-04-07 13:41:53 +02:00
parent eb39705ff1
commit 0b8f1d54c7
Signed by: harald
GPG key ID: F519A1143B3FBE32
6 changed files with 12 additions and 12 deletions

View file

@ -222,7 +222,7 @@ impl TeeConnection {
if self
.args
.sgx_allowed_tcb_levels
.map_or(true, |levels| !levels.contains(tcblevel))
.is_none_or(|levels| !levels.contains(tcblevel))
{
error!("Quote verification result: {}", tcblevel);
return Err(Error::General(format!(

View file

@ -297,7 +297,7 @@ impl VaultConnection {
}
/// set a secret in the vault
pub async fn store_secret<'de, T: serde::Serialize>(
pub async fn store_secret<T: serde::Serialize>(
&self,
val: T,
rel_path: &str,
@ -306,7 +306,7 @@ impl VaultConnection {
}
/// set a secret in the vault for a different TEE
pub async fn store_secret_for_tee<'de, T: serde::Serialize>(
pub async fn store_secret_for_tee<T: serde::Serialize>(
&self,
tee_name: &str,
val: T,
@ -330,7 +330,7 @@ impl VaultConnection {
}
/// get a secret from the vault
pub async fn load_secret<'de, T: serde::de::DeserializeOwned>(
pub async fn load_secret<T: serde::de::DeserializeOwned>(
&self,
rel_path: &str,
) -> Result<Option<T>, HttpResponseError> {
@ -338,7 +338,7 @@ impl VaultConnection {
}
/// get a secret from the vault for a specific TEE
pub async fn load_secret_for_tee<'de, T: serde::de::DeserializeOwned>(
pub async fn load_secret_for_tee<T: serde::de::DeserializeOwned>(
&self,
tee_name: &str,
rel_path: &str,

View file

@ -81,7 +81,7 @@ pub fn get_quote_and_collateral(
}
if tcblevel != TcbLevel::Ok
&& allowed_tcb_levels.map_or(false, |levels| !levels.contains(tcblevel))
&& allowed_tcb_levels.is_some_and(|levels| !levels.contains(tcblevel))
{
error!("Quote verification result: {}", tcblevel);
bail!("Quote verification result: {}", tcblevel);