-
Notifications
You must be signed in to change notification settings - Fork 158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
import issue with crate::fs on i386/debian... #706
Comments
I have made a dockerfile to reproduce the issue: RUN git clone --depth 1 https://github.com/Blightmud/Blightmud RUN apt-get -y install wget WORKDIR ./Blightmud RUN /root/.cargo/bin/cargo build -r CMD ["./target/release/blightmud"] |
When building with --no-default-features, the default use-libc-auxv feature is disabled, and rustix falls back to reading the auxv variables using /proc/self/auxv. This requires some filesystem functions to do, so ensure that the filesystem code is enabled in configurations that need that. Fixes #706.
When building with --no-default-features, the default use-libc-auxv feature is disabled, and rustix falls back to reading the auxv variables using /proc/self/auxv. This requires some filesystem functions to do, so ensure that the filesystem code is enabled in configurations that need that. Fixes #706.
When building with --no-default-features, the default use-libc-auxv feature is disabled, and rustix falls back to reading the auxv variables using /proc/self/auxv. This requires some filesystem functions to do, so ensure that the filesystem code is enabled in configurations that need that. Fixes #706.
Thanks for the report! I've now submittted #712 with a fix, which I'll backport to 0.37. |
When building with --no-default-features, the default use-libc-auxv feature is disabled, and rustix falls back to reading the auxv variables using /proc/self/auxv. This requires some filesystem functions to do, so ensure that the filesystem code is enabled in configurations that need that. Fixes #706.
When building with --no-default-features, the default use-libc-auxv feature is disabled, and rustix falls back to reading the auxv variables using /proc/self/auxv. This requires some filesystem functions to do, so ensure that the filesystem code is enabled in configurations that need that. Fixes #706.
… (#713) When building with --no-default-features, the default use-libc-auxv feature is disabled, and rustix falls back to reading the auxv variables using /proc/self/auxv. This requires some filesystem functions to do, so ensure that the filesystem code is enabled in configurations that need that. Fixes #706.
Thanks so much for the help! have a great day! appreciate your time and effort =] |
im using a docker image to compile Blightmud on i386/debian for iSH (IOS)...
10040 docker pull i386/debian
10042 d start -it i386/debian /bin/bash
installed rustup using script (os ver was too low).. and downloaded/customized toolchain to i686 unknown linux gnu
git clone --depth 1 https://github.com/Blightmud/Blightmud
"rust build -r" fails at rustix with:
error[E0432]: unresolved import
crate::fs
--> /root/.cargo/registry/src/index.crates.io-1cd66030c949c28d/rustix-0.37.19/src/backend/linux_raw/param/auxv.rs:14:12
|
14 | use crate::fs::{Mode, OFlags};
| ^^
| |
| unresolved import
| help: a similar path exists:
std::fs
error[E0433]: failed to resolve: unresolved import
--> /root/.cargo/registry/src/index.crates.io-1cd66030c949c28d/rustix-0.37.19/src/backend/linux_raw/param/auxv.rs:140:23
|
140 | let file = crate::fs::openat(
| ^^
| |
| unresolved import
| help: a similar path exists:
std::fs
error[E0433]: failed to resolve: unresolved import
--> /root/.cargo/registry/src/index.crates.io-1cd66030c949c28d/rustix-0.37.19/src/backend/linux_raw/param/auxv.rs:141:16
|
141 | crate::fs::cwd(),
| ^^
| |
| unresolved import
| help: a similar path exists:
std::fs
I have tried to play around with the import line, but std::fs wasnt presenting Oflags.. etc...
Are there any ways to solve this?
The text was updated successfully, but these errors were encountered: