prolog icon indicating copy to clipboard operation
prolog copied to clipboard

Installation problem

Open triska opened this issue 5 years ago • 1 comments

Following the installation instructions on OSX, I get:

$ cargo run
error: failed to run `rustc` to learn about target-specific information

Caused by:
  process didn't exit successfully: `rustc - --crate-name ___ --print=file-names -Zpolonius --crate-type bin --crate-type rlib --crate-type dylib --crate-type cdylib --crate-type staticlib --crate-type proc-macro --print=sysroot --print=cfg` (exit code: 1)
--- stderr
error: the option `Z` is only accepted on the nightly compiler

My cargo version:

$ cargo --version
cargo 1.45.0 (744bd1fbb 2020-06-15)

Is there anything I can do to run it?

triska avatar Nov 12 '20 18:11 triska

Apparently it works if I use:

$ rustup default nightly

and then use cargo run.

Is this truly a requirement, or can it be made to work with stable too? Please consider adding a note to the documentation explaining the recommended approach, or alternatively to make it run with stable.

triska avatar Nov 12 '20 18:11 triska