From 6f1ea900eb13b1c0aebd4d86100d0fc76418c8e3 Mon Sep 17 00:00:00 2001 From: Radu Marias Date: Wed, 4 Dec 2024 03:43:20 +0200 Subject: [PATCH] panic abort on release, update mount name --- Cargo.toml | 2 +- src/mount/linux.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index e1c92c6..945555e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -227,7 +227,7 @@ harness = false #significant_drop_tightening = "allow" # An update of parking_lot made this trigger in a lot of places. [profile.release] -#panic = "abort" +panic = "abort" # This leads to better optimizations and smaller binaries (and is the default in Wasm anyways). # Treat warnings as errors in release builds rustflags = ["-Dwarnings"] lto = true diff --git a/src/mount/linux.rs b/src/mount/linux.rs index f65c779..37aa794 100644 --- a/src/mount/linux.rs +++ b/src/mount/linux.rs @@ -1446,6 +1446,7 @@ async fn mount_fuse( .read_only(read_only) .allow_root(allow_root) .allow_other(allow_other) + .fs_name("rencfs") .clone(); let mount_path = OsStr::new(mountpoint.to_str().unwrap());