1
0
Fork
You've already forked zig
0
forked from ziglang/zig

add zig-pkg to .gitignore #1

Closed
emidoots wants to merge 1 commit from emi/zig-pkg-gitignore into master
pull from: emi/zig-pkg-gitignore
merge into: emidoots:master
emidoots:master
emidoots:test-codeberg-security
emidoots:inline-err-tracing
emidoots:build-runner-process
emidoots:llvm22
emidoots:panic-rewrite
emidoots:parking-futex-lockfree
emidoots:windows-Io-cleanup
emidoots:Io-watch
emidoots:ParseCommandLineOptions
emidoots:windows-async-files
emidoots:poll-ring
emidoots:debug-file-leaks-differently
emidoots:debug-file-leaks
emidoots:ProcessPrng
emidoots:elfv2-dyn
emidoots:jobserver
emidoots:threadtheft
emidoots:io-threaded-no-queue
emidoots:0.15.x
emidoots:Io.net
emidoots:comptime-allocator
emidoots:restricted-function-pointers
emidoots:cli
emidoots:wasm-linker-writer
emidoots:wrangle-writer-buffering
emidoots:sha1-stream
emidoots:async-await-demo
emidoots:fixes
emidoots:0.14.x
emidoots:ast-node-methods
emidoots:spork8
emidoots:macos-debug-info
emidoots:make-vs-configure
emidoots:fuzz-macos
emidoots:main
emidoots:sans-aro
emidoots:ArrayList-reserve
emidoots:incr-bug
emidoots:llvm-ir-nosanitize-metadata
emidoots:ci-tarballs
emidoots:ci-scripts
emidoots:threadpool
emidoots:0.12.x
emidoots:new-pkg-hash
emidoots:json-diagnostics
emidoots:more-doctests
emidoots:rework-comptime-mutation
emidoots:0.11.x
emidoots:ci-perf-comment
emidoots:stage2-async
emidoots:0.10.x
emidoots:autofix
emidoots:0.9.x
emidoots:aro
emidoots:hcs
emidoots:0.8.x
emidoots:0.7.x

Per ziglang/zig#31121

package dependencies are now fetched into a "zig-pkg" directory relative to the build root (next to build.zig). Users are generally encouraged to not commit these files to source control, however it is understood that some will choose to do so for convenience.

Many people refer to Zig's own .gitignore file for best practices in their own projects, so I think it would make sense to include zig-pkg here.

Signed-off-by: emidoots emi@hexops.com

Per https://codeberg.org/ziglang/zig/pulls/31121 > package dependencies are now fetched into a "zig-pkg" directory relative to the build root (next to build.zig). Users are generally encouraged to not commit these files to source control, however it is understood that some will choose to do so for convenience. Many people refer to Zig's own .gitignore file for best practices in their own projects, so I think it would make sense to include zig-pkg here. Signed-off-by: emidoots <emi@hexops.com>
Per ziglang/zig#31121
> package dependencies are now fetched into a "zig-pkg" directory relative to the build root (next to build.zig). Users are generally encouraged to not commit these files to source control, however it is understood that some will choose to do so for convenience.
Many people refer to Zig's own .gitignore file for good practices, so I think it would make sense to include zig-pkg here.
Signed-off-by: emidoots <emi@hexops.com>
emidoots closed this pull request 2026年04月11日 07:28:11 +02:00

Pull request closed

Please reopen this pull request to perform a merge.
Sign in to join this conversation.
No reviewers
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
emidoots/zig!1
Reference in a new issue
emidoots/zig
No description provided.
Delete branch "emi/zig-pkg-gitignore"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?