Cross-compile matrix-seshat for aarch64-apple-darwin

This commit is contained in:
J. Ryan Stinnett 2021-06-22 17:19:02 +01:00
parent f3c1db3313
commit c3a36bb17d

View File

@ -278,6 +278,10 @@ async function buildMatrixSeshat(hakEnv, moduleInfo) {
env.RUSTUP_TOOLCHAIN = hakEnv.arch == 'x64' ? 'stable-x86_64-pc-windows-msvc' : 'stable-i686-pc-windows-msvc';
}
if (!hakEnv.isHost()) {
env.CARGO_BUILD_TARGET = hakEnv.getTargetId();
}
console.log("Running neon with env", env);
await new Promise((resolve, reject) => {
const proc = childProcess.spawn(