-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
make install on top of an already installed rust results in breakage #2877
Comments
Shouldn't |
Hmm, so |
Well, even adding |
I just ran into the same problem: rusty.rc:1:0: 1:0 error: multiple matching crates for `core`
rusty.rc:1 // Public Domain (-) 2012 The Rusty Authors.
^
note: candidates:
note: path: /usr/local/lib/rustc/x86_64-apple-darwin/lib/libcore-c3ca5d77d81b46c1-0.4.dylib
note: meta: name = "core"
note: meta: vers = "0.4"
note: meta: uuid = "c70c24a7-5551-4f73-8e37-380b11d80be8"
note: meta: url = "https://github.com/mozilla/rust/tree/master/src/libcore"
note: path: /usr/local/lib/rustc/x86_64-apple-darwin/lib/libcore-c3ca5d77d81b46c1-0.5.dylib
note: meta: name = "core"
note: meta: vers = "0.5"
note: meta: uuid = "c70c24a7-5551-4f73-8e37-380b11d80be8"
note: meta: url = "https://github.com/mozilla/rust/tree/master/src/libcore"
error: aborting due to previous error A work-around is to be explicit about the use of #[no_core];
extern mod core(vers = "0.5");
use core::*; Just importing a specific version of extern mod core(vers = "0.5"); I am guessing this is because somewhere we implicitly add the following to a crate file: extern mod core;
use core::*; Given that multi-version installs of rust are only going to be increasing in number, it might help create better second impressions if we fixed this somehow. Could we add the current version to the implicit |
#3225 supersedes this. |
CBMC only provides binaries for x86_64, but it runs fine on other arches (like aarch64) Build from source in that case --------- Co-authored-by: Adrian Palacios <[email protected]>
After doing a
make install
(of an early rust-0.3.tar.gz) on top of an alreadyinstall
ed Rust (from git a few days ago), I now get the following error while compiling things:There should be logic to override with newer versions, or otherwise warn about this sort of thing.
The text was updated successfully, but these errors were encountered: