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

chore: Bazel 8 compatibility #404

Merged
merged 2 commits into from
Nov 30, 2024
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
2 changes: 0 additions & 2 deletions .bazelrc.common
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ common --noincompatible_disallow_empty_glob

# docs: https://bazel.build/reference/command-line-reference#flag--remote_upload_local_results
build --noremote_upload_local_results
# docs: https://bazel.build/reference/command-line-reference#flag--incompatible_remote_results_ignore_disk
build --incompatible_remote_results_ignore_disk

# docs: https://bazel.build/reference/command-line-reference#flag--incompatible_strict_action_env
build --incompatible_strict_action_env
Expand Down
2 changes: 1 addition & 1 deletion zig/tests/integration_tests/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ bazel_integration_tests(
)

TEST_VERSIONS = TOOL_VERSIONS.keys() + [
"0.14.0-dev.2059+cdd8e82f0",
"0.14.0-dev.2362+a47aa9dd9",
]

[
Expand Down
2 changes: 1 addition & 1 deletion zig/tests/integration_tests/workspace/MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ local_path_override(

zig = use_extension("@rules_zig//zig:extensions.bzl", "zig")
zig.index(file = "extra-versions.json")
zig.toolchain(zig_version = "0.14.0-dev.2059+cdd8e82f0")
zig.toolchain(zig_version = "0.14.0-dev.2362+a47aa9dd9")
zig.toolchain(
default = True,
zig_version = "0.13.0",
Expand Down
88 changes: 44 additions & 44 deletions zig/tests/integration_tests/workspace/extra-versions.json
Original file line number Diff line number Diff line change
@@ -1,78 +1,78 @@
{
"master": {
"version": "0.14.0-dev.2059+cdd8e82f0",
"date": "2024-10-29",
"version": "0.14.0-dev.2362+a47aa9dd9",
"date": "2024-11-30",
"docs": "https://ziglang.org/documentation/master/",
"stdDocs": "https://ziglang.org/documentation/master/std/",
"src": {
"tarball": "https://ziglang.org/builds/zig-0.14.0-dev.2059+cdd8e82f0.tar.xz",
"shasum": "fd7ab8a488ec396a38dbe0f09be046476c70f52799dbf2f7efe38d097ee1f7ba",
"size": "17629880"
"tarball": "https://ziglang.org/builds/zig-0.14.0-dev.2362+a47aa9dd9.tar.xz",
"shasum": "0333e11120a47474c4b21afe1bdfd8df8ceddec73754aaca7f0c9e1b6dab890b",
"size": "17646636"
},
"bootstrap": {
"tarball": "https://ziglang.org/builds/zig-bootstrap-0.14.0-dev.2059+cdd8e82f0.tar.xz",
"shasum": "70556cfe91a6ab672058e3bf67036ab817449957b8f1f3e827d5984785da8313",
"size": "47897188"
"tarball": "https://ziglang.org/builds/zig-bootstrap-0.14.0-dev.2362+a47aa9dd9.tar.xz",
"shasum": "257403be55d8e426c4855e33d7a1e9e0f200a486322a29478b60f68dc474850b",
"size": "47913300"
},
"x86_64-macos": {
"tarball": "https://ziglang.org/builds/zig-macos-x86_64-0.14.0-dev.2059+cdd8e82f0.tar.xz",
"shasum": "57b6922e211e194afd6218398f4846d746cac7971d2315d600931b4d28c36baf",
"size": "50757208"
"tarball": "https://ziglang.org/builds/zig-macos-x86_64-0.14.0-dev.2362+a47aa9dd9.tar.xz",
"shasum": "997a62894601bd63a808a11280fc0acea38f5517653fe7f78a1478588cc2addd",
"size": "50947008"
},
"aarch64-macos": {
"tarball": "https://ziglang.org/builds/zig-macos-aarch64-0.14.0-dev.2059+cdd8e82f0.tar.xz",
"shasum": "f4d679df80633004f7aae82d2e75d93543305bec0e30bc7dc58204f3e4e8c093",
"size": "46783880"
"tarball": "https://ziglang.org/builds/zig-macos-aarch64-0.14.0-dev.2362+a47aa9dd9.tar.xz",
"shasum": "db9b2084fbd80c3652c8d461788f939903f302df15c7872ffca50c4307994d23",
"size": "46813748"
},
"x86_64-linux": {
"tarball": "https://ziglang.org/builds/zig-linux-x86_64-0.14.0-dev.2059+cdd8e82f0.tar.xz",
"shasum": "9ca43a57f0dc5c3217136c89c5934d49fad0dcee498054683c4749a25c94c218",
"size": "48886692"
"tarball": "https://ziglang.org/builds/zig-linux-x86_64-0.14.0-dev.2362+a47aa9dd9.tar.xz",
"shasum": "d923cb1ace6f463e909233f3e03cd160803aa9b63548405ad1a18dd434a01492",
"size": "48899708"
},
"aarch64-linux": {
"tarball": "https://ziglang.org/builds/zig-linux-aarch64-0.14.0-dev.2059+cdd8e82f0.tar.xz",
"shasum": "217537a5758d88b36447709f7ad09690ffee5a23d1686cec0e59152f09a4edf8",
"size": "44880056"
"tarball": "https://ziglang.org/builds/zig-linux-aarch64-0.14.0-dev.2362+a47aa9dd9.tar.xz",
"shasum": "a4d10d9d9200237a44c81b0cf01b97f3e4c1a9a3813c1ae8420afb341812b321",
"size": "44935904"
},
"armv7a-linux": {
"tarball": "https://ziglang.org/builds/zig-linux-armv7a-0.14.0-dev.2059+cdd8e82f0.tar.xz",
"shasum": "26816e67749369a629b766a4a44e34dfb56ace88429020ebd11fe33f2b314929",
"size": "45895312"
"tarball": "https://ziglang.org/builds/zig-linux-armv7a-0.14.0-dev.2362+a47aa9dd9.tar.xz",
"shasum": "a837e92ef7b59dbd459fac74d447a27de492cb4fad3a8959b07afabd17da9ffc",
"size": "45942972"
},
"riscv64-linux": {
"tarball": "https://ziglang.org/builds/zig-linux-riscv64-0.14.0-dev.2059+cdd8e82f0.tar.xz",
"shasum": "254083ad60141fb41e4c7eb28d52a610ca9e29767f99c3edaaee8b1c03e5cbc3",
"size": "47487880"
"tarball": "https://ziglang.org/builds/zig-linux-riscv64-0.14.0-dev.2362+a47aa9dd9.tar.xz",
"shasum": "47d9be2137ba2aff3da4b7c41aedfdfd3651ef94f929419a9299b9731e7225d0",
"size": "47465540"
},
"powerpc64le-linux": {
"tarball": "https://ziglang.org/builds/zig-linux-powerpc64le-0.14.0-dev.2059+cdd8e82f0.tar.xz",
"shasum": "0d1d95024c25d58978b4168f3cda8c0de0558196ea638ac68c13f9e309649fe8",
"size": "48402900"
"tarball": "https://ziglang.org/builds/zig-linux-powerpc64le-0.14.0-dev.2362+a47aa9dd9.tar.xz",
"shasum": "e1ae358c2496c025318754bcbdd147d2f70413fead6c1dfedde3d712b9081982",
"size": "48407816"
},
"x86-linux": {
"tarball": "https://ziglang.org/builds/zig-linux-x86-0.14.0-dev.2059+cdd8e82f0.tar.xz",
"shasum": "b14fc8e0d45633707aaee669f20ee8eec5b3f65618b9a7d74e431cfe6bcf46fa",
"size": "54125444"
"tarball": "https://ziglang.org/builds/zig-linux-x86-0.14.0-dev.2362+a47aa9dd9.tar.xz",
"shasum": "5fa65e16957fa006676a3f4b10089dcaa4ea40d4fab84e31d6c9173f0250e495",
"size": "54178724"
},
"loongarch64-linux": {
"tarball": "https://ziglang.org/builds/zig-linux-loongarch64-0.14.0-dev.2059+cdd8e82f0.tar.xz",
"shasum": "a7b3a50814d311307128f7b8299e31da1128d4199b612c8d7b7d06bfdcd7e511",
"size": "45263172"
"tarball": "https://ziglang.org/builds/zig-linux-loongarch64-0.14.0-dev.2362+a47aa9dd9.tar.xz",
"shasum": "8dde94a58cadb05f0b9a800739e1c87a564080828f31a86982ac0ceb04d98623",
"size": "45291912"
},
"x86_64-windows": {
"tarball": "https://ziglang.org/builds/zig-windows-x86_64-0.14.0-dev.2059+cdd8e82f0.zip",
"shasum": "5f517424a9df4ece3cf9483cf4c2ede84ca0bc8da73566a493bd22f4a7df561b",
"size": "82923594"
"tarball": "https://ziglang.org/builds/zig-windows-x86_64-0.14.0-dev.2362+a47aa9dd9.zip",
"shasum": "ecd0d888403402b826afdd38a0aa88124b155a6e5a624106b6ee87761628aebb",
"size": "82944989"
},
"aarch64-windows": {
"tarball": "https://ziglang.org/builds/zig-windows-aarch64-0.14.0-dev.2059+cdd8e82f0.zip",
"shasum": "1a98a1bf7e650fdc9337dbe500a50838d9333ce7eabc5e2aa628960682d156ea",
"size": "78949348"
"tarball": "https://ziglang.org/builds/zig-windows-aarch64-0.14.0-dev.2362+a47aa9dd9.zip",
"shasum": "d6668459565275ad8ded46c0e6b19be7f3c6f917ddc42aadecb3a418eb0bbf7c",
"size": "79029072"
},
"x86-windows": {
"tarball": "https://ziglang.org/builds/zig-windows-x86-0.14.0-dev.2059+cdd8e82f0.zip",
"shasum": "8bdd74ea8a7db257553743dfeb92f113ab9b5fe1f2be32cfc857e194ce183cea",
"size": "87196560"
"tarball": "https://ziglang.org/builds/zig-windows-x86-0.14.0-dev.2362+a47aa9dd9.zip",
"shasum": "d2c2915e722813396e8d209e3d43bd7e5bfff5765194650c4df05136c14b5189",
"size": "87226170"
}
}
}
Loading