-
Notifications
You must be signed in to change notification settings - Fork 12.1k
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
rustc "unexpected panic"; no /proc/self/exe inside a debootstrap chroot #46090
Comments
RUST_BACKTRACE=1 doesn't give much information.
|
Getting the same when building cryptography for python.
Source at this project: |
I'm having the same issue when compiling a simple rust program inside a sandbox. The error I get is:
The simple rust program I'm trying to compile is:
Is there any workaround to avoid mounting proc inside the sandbox? Source of the sandbox: |
We need |
@bjorn3 that is going to be a problem, because some sandboxes (such as Sandstorm) deliberately avoid mounting |
You can pass |
Also note that libc itself needs |
I installed rustc in a Debian chroot, as per https://wiki.debian.org/Debootstrap
Inside that chroot, rustc crashes.
Sure, I can tinker with my chroot configuration to flesh out /proc, but as rustc's output said, "the compiler unexpectedly panicked. this is a bug".
The text was updated successfully, but these errors were encountered: