Add remote server cross compilation (#19136)

This will allow us to compile debug builds of the remote-server for a
different architecture than the one we are developing on.

This also adds a CI step for building our remote server with minimal
dependencies.

Release Notes:

- N/A
This commit is contained in:
Mikayla Maki 2024-10-12 23:23:56 -07:00 committed by GitHub
parent f73a076a63
commit bebe24ea77
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
23 changed files with 542 additions and 161 deletions

View file

@ -51,7 +51,7 @@ futures.workspace = true
git.workspace = true
git_hosting_providers.workspace = true
go_to_line.workspace = true
gpui.workspace = true
gpui = { workspace = true, features = ["wayland", "x11", "font-kit"] }
headless.workspace = true
http_client.workspace = true
image_viewer.workspace = true
@ -125,6 +125,8 @@ winresource = "0.1"
[target.'cfg(target_os = "linux")'.dependencies]
ashpd.workspace = true
# We don't use zstd in the zed crate, but we want to add this feature when compiling a desktop build of Zed
zstd = { workspace = true, features = [ "pkg-config" ] }
[dev-dependencies]
call = { workspace = true, features = ["test-support"] }
@ -169,4 +171,4 @@ osx_info_plist_exts = ["resources/info/*"]
osx_url_schemes = ["zed"]
[package.metadata.cargo-machete]
ignored = ["profiling"]
ignored = ["profiling", "zstd"]