Cargo ignoring $RUSTC environment variable

Hi everyone!

Context: I'm using a PowerPC cluster without access to the Internet and without any admin permissions. I have to build the tokenizers library, which depends on PyO3. Rust is already built-in in the system I'm using, but PyO3 requires a nightly version of Rust. So, I have downloaded the right Rust version and I'm planning to use the corresponding binaries.

The problem is that when I call cargo, it still uses the non-nightly version of Rust, apparently. I have specified the required rustc path by setting the $RUSTC environment variable, but it appears to be completely ignoring this variable.

Any hint? I don't have any previous experience with Rust.

Many thanks in advance.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.