forked from ziglang/zig-bootstrap
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
de34511
commit 2542f35
Showing
17,883 changed files
with
4,403,952 additions
and
1 deletion.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
*.zig text eol=lf | ||
*.zon text eol=lf | ||
*.txt text eol=lf | ||
langref.html.in text eol=lf | ||
lib/std/compress/testdata/** binary | ||
lib/std/compress/deflate/testdata/** binary | ||
lib/std/compress/flate/testdata/** binary | ||
|
||
lib/include/** linguist-vendored | ||
lib/libc/** linguist-vendored | ||
lib/libcxx/** linguist-vendored | ||
lib/libcxxabi/** linguist-vendored | ||
lib/libunwind/** linguist-vendored | ||
lib/tsan/** linguist-vendored | ||
lib/compiler/aro/** linguist-vendored |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
# Code of Conduct | ||
|
||
Hello, and welcome! 👋 | ||
|
||
The Zig community is decentralized. Anyone is free to start and maintain their | ||
own space for people to gather, and edit | ||
[the Community wiki page](https://github.com/ziglang/zig/wiki/Community) to add | ||
a link. There is no concept of "official" or "unofficial", however, each | ||
gathering place has its own moderators and rules. | ||
|
||
This is Andrew Kelley speaking. At least for now, I'm the moderator of the | ||
ziglang organization GitHub repositories and the #zig IRC channel on Libera.chat. | ||
**This document contains the rules that govern these two spaces only**. | ||
|
||
The rules here are strict. This space is for focused, on topic, technical work | ||
on the Zig project only. It is everyone's responsibility to maintain a positive | ||
environment, especially when disagreements occur. | ||
|
||
## Our Standards | ||
|
||
Examples of behavior that contribute to creating a positive environment include: | ||
|
||
* Using welcoming and inclusive language. | ||
* Being respectful of differing viewpoints and experiences. | ||
* Gracefully accepting constructive criticism. | ||
* Helping another person accomplish their own goals. | ||
* Showing empathy towards others. | ||
* Showing appreciation for others' work. | ||
* Validating someone else's experience, skills, insight, and use cases. | ||
|
||
Examples of unacceptable behavior by participants include: | ||
|
||
* Unwelcome sexual attention or advances, or use of sexualized language or | ||
imagery that causes discomfort. | ||
* Trolling, insulting/derogatory comments, and personal attacks. Anything | ||
antagonistic towards someone else. | ||
* Off-topic discussion of any kind - especially offensive or sensitive issues. | ||
* Publishing others' private information, such as a physical or electronic | ||
address, without explicit permission. | ||
* Discussing this Code of Conduct or publicly accusing someone of violating it. | ||
* Making someone else feel like an outsider or implying a lack of technical | ||
abilities. | ||
* Destructive behavior. Anything that harms Zig or another open-source project. | ||
|
||
## Enforcement | ||
|
||
If you need to report an issue you can contact me or Loris Cro, who are both | ||
paid by the Zig Software Foundation, and so moderation of this space is part of | ||
our job. We will swiftly remove anyone who is antagonizing others or being | ||
generally destructive. | ||
|
||
This includes Private Harassment. If person A is directly harassed or | ||
antagonized by person B, person B will be blocked from participating in this | ||
space even if the harassment didn't take place on one of the mediums directly | ||
under rule of this Code of Conduct. | ||
|
||
As noted, discussing this Code of Conduct should not take place on GitHub or IRC | ||
because these spaces are for directly working on code, not for meta-discussion. | ||
If you have any issues with it, you can contact me directly, or you can join one | ||
of the community spaces that has different rules. | ||
|
||
* Andrew Kelley <[email protected]> | ||
* Loris Cro <[email protected]> | ||
|
||
## Conclusion | ||
|
||
Thanks for reading the rules. Together, we can make this space welcoming and | ||
inclusive for everyone, regardless of age, body size, disability, ethnicity, | ||
sex characteristics, gender identity and expression, level of experience, | ||
education, socio-economic status, nationality, personal appearance, race, | ||
religion, or sexual identity and orientation. | ||
|
||
Sincerely, | ||
|
||
Andrew ✌️ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Please see the | ||
[Contributing](https://github.com/ziglang/zig/wiki/Contributing) | ||
page on the wiki. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
github: [ziglang] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: Bug Report | ||
description: File a bug report | ||
labels: ["bug"] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
A bug is when something works differently than it is expected to. | ||
## Remember to search before filing a new report | ||
Please search for this bug in the issue tracker, and use a bug report title that | ||
would have made your bug report turn up in the search results for your search query. | ||
- type: input | ||
id: version | ||
attributes: | ||
label: Zig Version | ||
description: "The output of `zig version`" | ||
placeholder: "0.10.0-dev.4583+875e98a57" | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: repro | ||
attributes: | ||
label: Steps to Reproduce and Observed Behavior | ||
description: What exactly can someone else do, in order to observe the problem that you observed? Include the output and all error messages. | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: expected | ||
attributes: | ||
label: Expected Behavior | ||
description: What did you expect to happen instead? | ||
validations: | ||
required: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
contact_links: | ||
- name: Language Proposal | ||
about: Propose to improve the Zig language | ||
url: https://github.com/ziglang/zig/wiki/Language-Proposals | ||
- name: Question | ||
about: Please use one of the community spaces for questions or general discussions. | ||
url: https://github.com/ziglang/zig/wiki/Community |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Error message improvement | ||
description: Compiler produces an unhelpful or misleading error message. | ||
labels: ["error message"] | ||
body: | ||
- type: input | ||
id: version | ||
attributes: | ||
label: Zig Version | ||
description: "The output of `zig version`" | ||
placeholder: "0.11.0-dev.146+2897641fb" | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: repro | ||
attributes: | ||
label: Steps to Reproduce and Observed Output | ||
description: A complete list of steps to reproduce the error message. | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: expected | ||
attributes: | ||
label: Expected Output | ||
description: What information do expect the error message to include? | ||
validations: | ||
required: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,101 @@ | ||
name: ci | ||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- master | ||
- llvm19 | ||
concurrency: | ||
# Cancels pending runs when a PR gets updated. | ||
group: ${{ github.head_ref || github.run_id }}-${{ github.actor }} | ||
cancel-in-progress: true | ||
permissions: | ||
# Sets permission policy for `GITHUB_TOKEN` | ||
contents: read | ||
jobs: | ||
x86_64-linux-debug: | ||
timeout-minutes: 420 | ||
runs-on: [self-hosted, Linux, x86_64] | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Build and Test | ||
run: sh ci/x86_64-linux-debug.sh | ||
x86_64-linux-release: | ||
timeout-minutes: 420 | ||
runs-on: [self-hosted, Linux, x86_64] | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Build and Test | ||
run: sh ci/x86_64-linux-release.sh | ||
aarch64-linux-debug: | ||
timeout-minutes: 480 | ||
runs-on: [self-hosted, Linux, aarch64] | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Build and Test | ||
run: sh ci/aarch64-linux-debug.sh | ||
aarch64-linux-release: | ||
timeout-minutes: 480 | ||
runs-on: [self-hosted, Linux, aarch64] | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Build and Test | ||
run: sh ci/aarch64-linux-release.sh | ||
x86_64-macos-release: | ||
runs-on: "macos-12" | ||
env: | ||
ARCH: "x86_64" | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Build and Test | ||
run: ci/x86_64-macos-release.sh | ||
aarch64-macos-debug: | ||
runs-on: [self-hosted, macOS, aarch64] | ||
env: | ||
ARCH: "aarch64" | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Build and Test | ||
run: ci/aarch64-macos-debug.sh | ||
aarch64-macos-release: | ||
runs-on: [self-hosted, macOS, aarch64] | ||
env: | ||
ARCH: "aarch64" | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Build and Test | ||
run: ci/aarch64-macos-release.sh | ||
x86_64-windows-debug: | ||
runs-on: [self-hosted, Windows, x86_64] | ||
env: | ||
ARCH: "x86_64" | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Build and Test | ||
run: ci/x86_64-windows-debug.ps1 | ||
x86_64-windows-release: | ||
runs-on: [self-hosted, Windows, x86_64] | ||
env: | ||
ARCH: "x86_64" | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Build and Test | ||
run: ci/x86_64-windows-release.ps1 | ||
aarch64-windows: | ||
runs-on: [self-hosted, Windows, aarch64] | ||
env: | ||
ARCH: "aarch64" | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Build and Test | ||
run: ci/aarch64-windows.ps1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# This file is for zig-specific build artifacts. | ||
# If you have OS-specific or editor-specific files to ignore, | ||
# such as *.swp or .DS_Store, put those in your global | ||
# ~/.gitignore and put this in your ~/.gitconfig: | ||
# | ||
# [core] | ||
# excludesfile = ~/.gitignore | ||
# | ||
# Cheers! | ||
# -andrewrk | ||
|
||
.zig-cache/ | ||
zig-out/ | ||
/release/ | ||
/debug/ | ||
/build/ | ||
/build-*/ | ||
/docgen_tmp/ | ||
|
||
# Although this was renamed to .zig-cache, let's leave it here for a few | ||
# releases to make it less annoying to work with multiple branches. | ||
zig-cache/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.