Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Remove redundant Rust target setup

laurenspriem65fa76aec2cb
diff --git a/.github/workflows/photos-desktop-build.yml b/.github/workflows/photos-desktop-build.yml
index 21d0de3ccc..e63cf2a232 100644
--- a/.github/workflows/photos-desktop-build.yml
+++ b/.github/workflows/photos-desktop-build.yml
@@ -115,20 +115,6 @@ jobs:
workspaces: rust
shared-key: rust-desktop
- # The packaged app is universal on macOS, and windows/linux also
- # build arm64 targets, so the Rust ML addon needs the non-host
- # target toolchains too (see [Note: Packaging the ML addon]).
- - name: Add Rust cross-compilation targets
- shell: bash
- run: |
- if [ "${RUNNER_OS}" = "macOS" ]; then
- rustup target add x86_64-apple-darwin
- elif [ "${RUNNER_OS}" = "Windows" ]; then
- rustup target add aarch64-pc-windows-msvc
- else
- rustup target add aarch64-unknown-linux-gnu
- fi
-
- name: Fetch binary dependencies and rebuild native modules
run: npm run postinstall