Fix confused toolchain / target naming

Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
This commit is contained in:
David Baker 2021-07-07 10:58:54 +01:00 committed by GitHub
parent b5725da9ea
commit 9913b0ff78
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -70,7 +70,8 @@ module.exports = async function(hakEnv, moduleInfo) {
if (err) {
reject(
"rustc can't build for target " + hakEnv.getTargetId() +
": ensure the correct toolchain is installed",
": ensure target is installed via `rustup target add " + hakEnv.getTargetId() + "` " +
"or your package manager if not using `rustup`",
);
}
fsProm.unlink('tmp').then(resolve);