Installing without rustup?
Closed this issue · 1 comments
palapapa commented
I got a bunch of errors after running the installation script:
error[E0463]: can't find crate for `indexmap`
--> rustowl-core/src/lib.rs:3:1
|
3 | pub extern crate indexmap;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
error[E0463]: can't find crate for `polonius_engine`
--> rustowl-core/src/lib.rs:4:1
|
4 | pub extern crate polonius_engine;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
error[E0463]: can't find crate for `rustc_borrowck`
--> rustowl-core/src/lib.rs:5:1
|
5 | pub extern crate rustc_borrowck;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
|
= help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`
error[E0463]: can't find crate for `rustc_driver`
--> rustowl-core/src/lib.rs:6:1
|
6 | pub extern crate rustc_driver;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
|
= help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`
Does that mean I have to use rustup? I would rather use the rust package provided by Portage. Is there any way to add those crates without using rustup?
cordx56 commented
If you can install the nightly-2024-10-31 toolchain, compiling and using RustOwl without rustup is possible.
However, I don’t know how to do it without rustup.