You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compiling fails however due to various errors about the backend lacking the mount module (All errors are from src/mount/ files referring to the backend mount module):
error[E0433]: failed to resolve: could not find `mount` in `backend`
--> /root/.cargo/git/checkouts/rustix-8fafe793515fde97/ec96121/src/mount/fsopen.rs:3:21
|
3 | use crate::backend::mount::types::{
| ^^^^^ could not find `mount` in `backend`
|
note: found an item that was configured out
--> /root/.cargo/git/checkouts/rustix-8fafe793515fde97/ec96121/src/backend/linux_raw/mod.rs:49:16
|
49 | pub(crate)mod mount;
| ^^^^^
note: the item is gated behind the `mount` feature
--> /root/.cargo/git/checkouts/rustix-8fafe793515fde97/ec96121/src/backend/linux_raw/mod.rs:48:7
|
48 | #[cfg(feature = "mount")]
| ^^^^^^^^^^^^^^^^^
The fs feature is implicitly enabled from procfs feature (so lib.rs then enables the mount module):
The text was updated successfully, but these errors were encountered:
polarathene
changed the title
error[E0433]: failed to resolve: could not find mount in backend``error[E0433]: failed to resolve: could not find mount in backend`
Oct 20, 2024
polarathene
changed the title
error[E0433]: failed to resolve: could not find mount in backend`error[E0433]: failed to resolve: could not find mount in \backend\``
Oct 20, 2024
polarathene
changed the title
error[E0433]: failed to resolve: could not find mount in \backend\``error[E0433]: failed to resolve: could not find mount in 'backend'Oct 20, 2024
polarathene
changed the title
error[E0433]: failed to resolve: could not find mount in 'backend'error[E0433]: failed to resolve: could not find 'mount' in 'backend'Oct 20, 2024
TL;DR: I think this was meant to be removed from
lib.rs
with this Sep 2024 PR, but was missed?rustix/src/lib.rs
Lines 296 to 300 in ec96121
I wanted to try the recently implemented
select
method, and realized it's not available in a release yet, so I switched to git forrustix
:Compiling fails however due to various errors about the backend lacking the
mount
module (All errors are fromsrc/mount/
files referring to the backend mount module):The
fs
feature is implicitly enabled fromprocfs
feature (solib.rs
then enables themount
module):rustix/Cargo.toml
Lines 161 to 162 in ec96121
Context
mount
module. #763lib.rs
): Remove deprecated features. #1154NOTE: This comment line was removed, not sure if that context was intended to be dropped along with the deprecation comment above it.
Config attributes for
mod mount
:rustix/src/lib.rs
Lines 217 to 220 in ec96121
rustix/src/lib.rs
Lines 296 to 300 in ec96121
rustix/src/lib.rs
Lines 176 to 180 in ec96121
rustix/src/backend/linux_raw/mod.rs
Lines 48 to 49 in ec96121
The text was updated successfully, but these errors were encountered: