mirror of
https://github.com/immich-app/immich
synced 2026-08-29 13:15:45 +00:00
fix: include host targets in rust toolchain file
This commit is contained in:
parent
bb8e242fbe
commit
3919887c2a
1 changed files with 11 additions and 1 deletions
|
|
@ -1,6 +1,10 @@
|
|||
# The build hook (native_toolchain_rust) drives cargo via rustup and auto-installs
|
||||
# this toolchain + targets. Pin a version (never bare stable/beta) for reproducible
|
||||
# builds. Keep the channel in sync with mise.toml's rust pin.
|
||||
#
|
||||
# Full default target set from native_toolchain_rust: the hook validates the HOST
|
||||
# triple too (any dart/flutter command builds a host code asset), so linux + windows
|
||||
# must stay in for CI runners and contributor machines, not just the app targets.
|
||||
[toolchain]
|
||||
channel = "1.92.0"
|
||||
targets = [
|
||||
|
|
@ -12,7 +16,13 @@ targets = [
|
|||
"aarch64-apple-ios",
|
||||
"aarch64-apple-ios-sim",
|
||||
"x86_64-apple-ios",
|
||||
# host (local test / macOS)
|
||||
# Windows
|
||||
"aarch64-pc-windows-msvc",
|
||||
"x86_64-pc-windows-msvc",
|
||||
# Linux
|
||||
"aarch64-unknown-linux-gnu",
|
||||
"x86_64-unknown-linux-gnu",
|
||||
# macOS
|
||||
"aarch64-apple-darwin",
|
||||
"x86_64-apple-darwin",
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue