mirror of
https://github.com/element-hq/element-desktop
synced 2025-04-16 18:04:17 +02: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…
x
Reference in New Issue
Block a user