mirror of
https://github.com/zed-industries/zed.git
synced 2026-05-23 12:37:09 +00:00
tl;dr: you can now run `cargo xtask setup_webrtc`, which: 1. Fetches webrtc artifacts into a gitignored directory in Zed repo 2. Adds a [env] section to `~/.cargo/config.toml` on your box which forces LK to NOT download webrtc artifacts as a part of its build script The end result: `cargo clean` is no longer a horrid experience with in horrid network environments. Caveats: 1. This does not handle appending to existing cargo config. The setup script will fail if there's one in place. 2. You need to redo this thing (fetch env var and whatnot) whenever LK version is bumped. 3. This is not mandatory for builds to work. You only really have to do this for your own convenience, but builds will work just fine without it (unless your connection sucks). Self-Review Checklist: - [ ] I've reviewed my own diff for quality, security, and reliability - [ ] Unsafe blocks (if any) have justifying comments - [ ] The content is consistent with the [UI/UX checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist) - [ ] Tests cover the new/changed behavior - [ ] Performance impact has been considered and is acceptable Closes #ISSUE Release Notes: - N/A
57 lines
1.1 KiB
Text
57 lines
1.1 KiB
Text
**/*.db
|
|
**/*.proptest-regressions
|
|
**/cargo-target
|
|
**/target
|
|
.webrtc-sys/
|
|
**/venv
|
|
**/.direnv
|
|
*.wasm
|
|
*.xcodeproj
|
|
.DS_Store
|
|
.blob_store
|
|
.build
|
|
.claude/settings.local.json
|
|
.envrc
|
|
.flatpak-builder
|
|
.idea
|
|
.netrc
|
|
*.pyc
|
|
.pytest_cache
|
|
.swiftpm
|
|
.swiftpm/config/registries.json
|
|
.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata
|
|
.venv
|
|
.vscode
|
|
.wrangler
|
|
.perf-runs
|
|
/assets/*licenses.*
|
|
/crates/collab/seed.json
|
|
/crates/theme/schemas/theme.json
|
|
/crates/zed/resources/flatpak/flatpak-cargo-sources.json
|
|
/crates/project_panel/benches/linux_repo_snapshot.txt
|
|
/dev.zed.Zed*.json
|
|
/node_modules/
|
|
/plugins/bin
|
|
/script/node_modules
|
|
/snap
|
|
/zed.xcworkspace
|
|
DerivedData/
|
|
Packages
|
|
xcuserdata/
|
|
crates/docs_preprocessor/actions.json
|
|
|
|
# Don't commit any secrets to the repo.
|
|
.env
|
|
.env.secret.toml
|
|
|
|
# `nix build` output
|
|
/result
|
|
|
|
# Visual test baseline images (these will be stored outside
|
|
# the repo in the future, but we don't haven't decided exactly
|
|
# where yet, so for now they get generated into a gitignored dir.)
|
|
/crates/zed/test_fixtures/visual_tests/
|
|
|
|
# Local documentation audit files
|
|
/december-2025-releases.md
|
|
/docs/december-2025-documentation-gaps.md
|