Skip to content

Commit

Permalink
panic abort on release, update mount name
Browse files Browse the repository at this point in the history
  • Loading branch information
radumarias committed Dec 4, 2024
1 parent 2c9af0d commit 6f1ea90
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions src/mount/linux.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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());

Expand Down

0 comments on commit 6f1ea90

Please sign in to comment.