Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cleanup: Remove zig repository. #959

Merged
merged 1 commit into from
Jan 13, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,3 @@
[submodule "wiki/qtox.wiki"]
path = wiki/qtox.wiki
url = https://github.com/TokTok/qtox.wiki
[submodule "zig-toxcore-c"]
path = zig-toxcore-c
url = https://github.com/TokTok/zig-toxcore-c
30 changes: 0 additions & 30 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -28,36 +28,6 @@ load("@hermetic_cc_toolchain//toolchain:defs.bzl", zig_toolchains = "toolchains"

zig_toolchains()

# Actual zig toolchain (the above is for C/C++)
# =========================================================

# Run before adding the default toolchains below, so this one gets used first.
register_toolchains(
"//third_party/zig:aarch64-linux-nix_toolchain",
"//third_party/zig:x86_64-linux-nix_toolchain",
)

# https://github.com/aherrmann/rules_zig
github_archive(
name = "rules_zig",
integrity = "sha256-2CKwqWqx87hXsAhgfyztqzG3ikp+obARtWVAAPGnKsA=",
repo = "aherrmann/rules_zig",
version = "v0.7.0",
)

load(
"@rules_zig//zig:repositories.bzl",
"rules_zig_dependencies",
"zig_register_toolchains",
)

rules_zig_dependencies()

zig_register_toolchains(
name = "zig",
zig_version = "0.11.0",
)

# Python
# =========================================================

Expand Down
2 changes: 1 addition & 1 deletion hs-github-tools
27 changes: 0 additions & 27 deletions third_party/zig/BUILD.bazel

This file was deleted.

23 changes: 0 additions & 23 deletions third_party/zig/csource.c

This file was deleted.

3 changes: 0 additions & 3 deletions third_party/zig/csource.h

This file was deleted.

9 changes: 0 additions & 9 deletions third_party/zig/main.zig

This file was deleted.

49 changes: 0 additions & 49 deletions third_party/zig/toolchains.bzl

This file was deleted.

1 change: 0 additions & 1 deletion tools/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ workspace(projects = [
"toxic",
"toxins",
"website",
"zig-toxcore-c",
])

exports_files(srcs = glob(["LICENSE.*"]))
5 changes: 0 additions & 5 deletions tools/git-remotes
Original file line number Diff line number Diff line change
Expand Up @@ -183,11 +183,6 @@ our %REPOS = (
repo 'robinlinden',
repo 'zoff99',
}],
'zig-toxcore-c' => ['zig-toxcore-c', {
upstream => 'toktok',
repo 'iphydf',
repo ['nodecum', 'c-toxcore-zig'],
}],
);

# Get map of remote -> url in current directory.
Expand Down
1 change: 0 additions & 1 deletion zig-toxcore-c
Submodule zig-toxcore-c deleted from 918878
Loading