-
Notifications
You must be signed in to change notification settings - Fork 386
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
Using rust from distro repo makes cross mount wierd directory #1198
Comments
Interesting! Do you get the same behaviour when using cross installed from this git repo? We changed how the toolchain is mounted in #947 This is the offending code: Line 55 in 4645d93
What is the output of edit: also, what's the output of |
|
alright, so cross assumes that the sysroot of the default toolchain is in the same place as the other ones, I think that should be considered a bug. I think the way forward is for us to fix this inconsistency (somehow), and in the meantime you should be able to do |
Can you show me the calls cross does when using the version from main btw. Would be appreciated! |
This fixes my problem :D
How can I do this? |
Do you mean these calls?
|
perfect, thanks! |
If you need any help with fixing this then just let me know. |
Checklist
Describe your issue
I have installed
rust
from the official fedora repository but I still want to sometimes use cross for testing purposes. So for this I installedrustup
and made my default toolchain to be the rust version that I installed via the package manager. My~/.rustup/toolchains
directory looks like this:When I try to run the following command (added
-v
to see what cross is trying to do):Then I get an error message that looks like this:
It seems wierd to me that
cross
is trying to mount a/stable
directory. Replacing the+stable
with+PATH_TO_stable-x86_64-unknown-linux-gnu
seems to fix my problem. Is this a bug or is this intended?What target(s) are you cross-compiling for?
i686-unknown-linux-gnu
Which operating system is the host (e.g computer cross is on) running?
What architecture is the host?
What container engine is cross using?
cross version
0.2.4
Example
No response
Additional information / notes
No response
The text was updated successfully, but these errors were encountered: