mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-12-10 00:00:24 +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"
|
name = "bcachefs"
|
||||||
path = "src/bcachefs.rs"
|
path = "src/bcachefs.rs"
|
||||||
|
|
||||||
|
[features]
|
||||||
|
fuse = []
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
log = { version = "0.4", features = ["std"] }
|
log = { version = "0.4", features = ["std"] }
|
||||||
clap = { version = "4.0.32", features = ["derive", "wrap_help"] }
|
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),
|
"unlock" => c::cmd_unlock(argc, argv),
|
||||||
"version" => c::cmd_version(argc, argv),
|
"version" => c::cmd_version(argc, argv),
|
||||||
|
|
||||||
#[cfg(fuse)]
|
#[cfg(feature = "fuse")]
|
||||||
"fusemount" => c::cmd_fusemount(argc, argv),
|
"fusemount" => c::cmd_fusemount(argc, argv),
|
||||||
|
|
||||||
_ => {
|
_ => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user