Skip to content

Commit

Permalink
cleanup: Remove zig repository.
Browse files Browse the repository at this point in the history
Nobody is maintaining or using this.
  • Loading branch information
iphydf committed Jan 12, 2025
1 parent f3bd631 commit 50a78ee
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 151 deletions.
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
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

0 comments on commit 50a78ee

Please sign in to comment.