mirror of
https://github.com/CringeStudios/element-desktop.git
synced 2025-01-18 23:44:59 +01:00
Cross-compile matrix-seshat for aarch64-apple-darwin
This commit is contained in:
parent
f3c1db3313
commit
c3a36bb17d
@ -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';
|
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);
|
console.log("Running neon with env", env);
|
||||||
await new Promise((resolve, reject) => {
|
await new Promise((resolve, reject) => {
|
||||||
const proc = childProcess.spawn(
|
const proc = childProcess.spawn(
|
||||||
|
Loading…
Reference in New Issue
Block a user