mirror of
https://github.com/zed-industries/zed.git
synced 2026-04-18 07:47:53 +00:00
ac02b1bf24
## Summary - The cross-compile path for building `remote_server` via `cargo zigbuild` was missing `.current_dir()`, causing it to inherit the process cwd - This fails with "cannot specify features for packages outside of workspace" when Zed is launched from outside its source tree - The native build path at the same location already sets `.current_dir()` correctly — this aligns the cross-compile path Closes #53950 ## Test plan - [x] Build Zed from source - [x] Launch from `/tmp`: `cd /tmp && /path/to/zed some-project --dev-container` - [x] Verify dev container cross-compilation succeeds Release Notes: - Fixed dev container cross-compilation failing when Zed is launched from outside its source directory --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>