diff --git a/libs/rustlib/Cargo.toml b/libs/rustlib/Cargo.toml index b704a44f3a79ed711f21311b5594005fcc9f0386..13d2c77bafcbe13a4b64bb681cbe5fef92792ebe 100644 --- a/libs/rustlib/Cargo.toml +++ b/libs/rustlib/Cargo.toml @@ -9,7 +9,6 @@ edition = "2021" [dependencies] serde = "1.0.130" libc = "0.2.140" -libmount = "0.1.15" log = "0.4" log4rs = "1.0" snafu = "0.7" @@ -19,5 +18,8 @@ pathdiff = "0.2.1" caps = "0.5.5" lazy_static = "1.4.0" +[target.'cfg(target_env = "musl")'.dependencies] +libmount = "0.1.15" + [features] selinux = []