mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-01-22 00:04:31 +03:00
Fix 'fuse' feature conditional compilation
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
parent
3829e49167
commit
d27d4cf7f0
@ -9,6 +9,9 @@ rust-version = "1.77"
|
||||
name = "bcachefs"
|
||||
path = "src/bcachefs.rs"
|
||||
|
||||
[features]
|
||||
fuse = []
|
||||
|
||||
[dependencies]
|
||||
log = { version = "0.4", features = ["std"] }
|
||||
clap = { version = "4.0.32", features = ["derive", "wrap_help"] }
|
||||
|
@ -63,7 +63,7 @@ fn handle_c_command(mut argv: Vec<String>, symlink_cmd: Option<&str>) -> i32 {
|
||||
"unlock" => c::cmd_unlock(argc, argv),
|
||||
"version" => c::cmd_version(argc, argv),
|
||||
|
||||
#[cfg(fuse)]
|
||||
#[cfg(feature = "fuse")]
|
||||
"fusemount" => c::cmd_fusemount(argc, argv),
|
||||
|
||||
_ => {
|
||||
|
Loading…
Reference in New Issue
Block a user