Skip to content

Commit

Permalink
yes
Browse files Browse the repository at this point in the history
  • Loading branch information
bangbangsheshotmedown committed Nov 13, 2024
1 parent de34511 commit 2542f35
Show file tree
Hide file tree
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.
1 change: 0 additions & 1 deletion zig
Submodule zig deleted from 4cf755
15 changes: 15 additions & 0 deletions zig/.gitattributes
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
75 changes: 75 additions & 0 deletions zig/.github/CODE_OF_CONDUCT.md
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 ✌️
3 changes: 3 additions & 0 deletions zig/.github/CONTRIBUTING.md
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.
1 change: 1 addition & 0 deletions zig/.github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
github: [ziglang]
33 changes: 33 additions & 0 deletions zig/.github/ISSUE_TEMPLATE/bug.yml
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
7 changes: 7 additions & 0 deletions zig/.github/ISSUE_TEMPLATE/config.yml
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
26 changes: 26 additions & 0 deletions zig/.github/ISSUE_TEMPLATE/error_message.yml
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
101 changes: 101 additions & 0 deletions zig/.github/workflows/ci.yaml
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
22 changes: 22 additions & 0 deletions zig/.gitignore
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/
66 changes: 66 additions & 0 deletions zig/.mailmap
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
Adam Goertz <[email protected]>
Ali Chraghi <[email protected]> <[email protected]>
Andrea Orru <[email protected]> <[email protected]>
Andrew Kelley <[email protected]> <[email protected]>
Bogdan Romanyuk <[email protected]> <[email protected]>
Casey Banner <[email protected]>
David Carlier <[email protected]>
David Rubin <[email protected]> <[email protected]>
Dominic <[email protected]>
Dominic <[email protected]> <[email protected]>
Eric Eastwood <[email protected]> <[email protected]>
Felix "xq" Queißner <[email protected]>
Felix "xq" Queißner <[email protected]> <[email protected]>
Felix "xq" Queißner <[email protected]> <[email protected]>
Felix "xq" Queißner <[email protected]> <[email protected]>
Felix "xq" Queißner <[email protected]> <[email protected]>
Frank Denis <[email protected]> <[email protected]>
Garrett Beck <[email protected]> <[email protected]>
Gaëtan S <[email protected]>
HydroH <[email protected]> <[email protected]>
Igor Anić <[email protected]>
IntegratedQuantum <[email protected]> <[email protected]>
Isaac Freund <[email protected]> <[email protected]>
Isaac Freund <[email protected]> <[email protected]>
Jacob Young <[email protected]>
Jan Philipp Hafer <[email protected]> <[email protected]>
Jeremy Volkman <[email protected]> <[email protected]>
Jimmi Holst Christensen <[email protected]> <[email protected]>
Jimmi Holst Christensen <[email protected]> <[email protected]>
Jimmi Holst Christensen <[email protected]> <[email protected]>
Jimmi Holst Christensen <[email protected]> <[email protected]>
Jimmi Holst Christensen <[email protected]> <[email protected]>
Joachim Schmidt <[email protected]>
Jonathan Marler <[email protected]> <[email protected]>
Krzysztof Wolicki <[email protected]>
Krzysztof Wolicki <[email protected]> <[email protected]>
LemonBoy <[email protected]> <[email protected]>
Luuk de Gram <[email protected]> <[email protected]>
Marc Tiehuis <[email protected]> <[email protected]>
Matthew Lugg <[email protected]>
Meghan Denny <[email protected]>
Michael Bartnett <[email protected]> <[email protected]>
Motiejus Jakštys <[email protected]> <[email protected]>
Niles Salter <[email protected]>
Noam Preil <[email protected]> <[email protected]>
Paul Berg <[email protected]>
Paul Berg <[email protected]> <[email protected]>
Paul Berg <[email protected]> <[email protected]>
Pavel Verigo <[email protected]> <[email protected]>
Prokop Randáček <[email protected]>
Tobias Simetsreiter <[email protected]>
Tobias Simetsreiter <[email protected]> <[email protected]>
Tobias Simetsreiter <[email protected]> <[email protected]>
Tobias Simetsreiter <[email protected]> <[email protected]>
Tom Read Cutting <[email protected]>
Tom Read Cutting <[email protected]> <[email protected]>
Travis Staloch <[email protected]>
Travis Staloch <[email protected]> <[email protected]>
Veikka Tuominen <[email protected]>
Veikka Tuominen <[email protected]> <[email protected]>
Wooster <[email protected]>
Wooster <[email protected]> <[email protected]>
antlilja <[email protected]> <[email protected]>
february cozzocrea <[email protected]> <[email protected]>
garrisonhh <[email protected]> <[email protected]>
xEgoist <[email protected]> <[email protected]>
Loading

0 comments on commit 2542f35

Please sign in to comment.