Closed hexagonal-sun closed 1 year ago
As explained in https://github.com/bjorn3/rustc_codegen_cranelift/issues/1308#issuecomment-1351916857 using a distro provided rust version isn't going to work. cg_clif needs a specific rustc nightly as specified in rust-toolchain. I should probably add a note about this though as you are the second person in two weeks to hit this.
Ah, apologies for the noise. I'll close this PR in that case.
If the user has installed via a package manager then rustup will not be in the user's path. Call out to 'sh', using the
which
command to find the location of the various rust tools that are required.