# Allow local build of remote_server dev to be deployed to different linux than local \(\#33395\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/263080c4c4b8de4ea902b0180cc21c8968d61713)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 263080c4c4b8de4ea902b0180cc21c8968d61713

Requested commit: 263080c4c4b8de4ea902b0180cc21c8968d61713

Commit: 263080c4c4b8de4ea902b0180cc21c8968d61713

Tree: 5a5edd587a3fe1b8edcde22fdd919c0293a4a7f1

Author: Gwen Lg

Committer: GitHub

## Message

```
Allow local build of remote_server dev to be deployed to different linux than local (#33395)

setup local build of `remote_server` to not depend of the local linux
libraries by :
- enable `vendored-libgit2` feature of git2
- setup target triple to `unknown-linux-musl` (mirror bundle-linux
script)
- add flag ` -C target-feature=+crt-static` in `RUSTFLAGS` env var
(mirror bundle-linux script)

Bonus:
Add an option to setup mold as linker of local build.

Closes #33341

Release Notes:

 - N/A
```

## Parents

- [925464cfc6cb26f2576816f8f02bbf7044e9f41b](https://git.cafe/gitcafe/zed/commit/925464cfc6cb26f2576816f8f02bbf7044e9f41b?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/263080c4c4b8de4ea902b0180cc21c8968d61713?format=markdown)
