Skip to content

Commit d2ef3d9

Browse files
authored
Bump Bazel to 8 and Rust to latest nightly (#32)
1 parent 596068d commit d2ef3d9

17 files changed

Lines changed: 19504 additions & 14770 deletions

File tree

.bazel-lib/bazelrc/correctness.bazelrc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ test --incompatible_exclusive_test_sandboxed
1818
# Without this option, you rely on rules authors to manually check the tags you passed
1919
# and apply relevant ones to the actions they create.
2020
# See https://github.com/bazelbuild/bazel/issues/8830 for details.
21-
# Docs: https://bazel.build/reference/command-line-reference#flag--experimental_allow_tags_propagation
22-
build --experimental_allow_tags_propagation
23-
fetch --experimental_allow_tags_propagation
24-
query --experimental_allow_tags_propagation
21+
# Docs: https://bazel.build/reference/command-line-reference#flag--incompatible_allow_tags_propagation
22+
build --incompatible_allow_tags_propagation
23+
fetch --incompatible_allow_tags_propagation
24+
query --incompatible_allow_tags_propagation
2525

2626
# Do not automatically create `__init__.py` files in the runfiles of Python targets. Fixes the wrong
2727
# default that comes from Google's internal monorepo by using `__init__.py` to delimit a Python

.bazelrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import %workspace%/.bazel-lib/bazelrc/release.bazelrc
99

1010

1111
common --incompatible_enable_proto_toolchain_resolution
12+
common --enable_workspace
1213
# Enable tracking of source directories to silence warnings about libunwind.
1314
startup --host_jvm_args=-DBAZEL_TRACK_SOURCE_DIRECTORIES=1
1415

MODULE.bazel

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,26 +5,27 @@ module(
55
repo_name = "blade",
66
)
77

8-
bazel_dep(name = "platforms", version = "0.0.11")
8+
bazel_dep(name = "platforms", version = "1.0.0")
99
bazel_dep(name = "rules_proto", version = "7.1.0")
1010
bazel_dep(name = "rules_pkg", version = "1.1.0")
11-
bazel_dep(name = "aspect_bazel_lib", version = "2.15.3")
12-
bazel_dep(name = "aspect_rules_js", version = "2.3.7")
13-
bazel_dep(name = "rules_cc", version = "0.1.1")
11+
bazel_dep(name = "aspect_bazel_lib", version = "2.21.1")
12+
bazel_dep(name = "aspect_rules_js", version = "2.6.0")
13+
bazel_dep(name = "rules_cc", version = "0.2.8")
14+
bazel_dep(name = "rules_java", version = "8.15.2")
1415

1516
#
1617
# rules_rust setup
1718
#
18-
bazel_dep(name = "rules_rust", version = "0.61.0")
19+
bazel_dep(name = "rules_rust", version = "0.65.0")
1920
single_version_override(
2021
module_name = "rules_rust",
2122
patch_strip = 1,
2223
# https://github.com/bazelbuild/rules_rust/issues/3429
2324
patches = ["//third_party/rust/patches/rules_rust:0001-Revert-Update-runfiles-to-work-with-directory-embedd.patch"],
2425
)
2526

26-
bazel_dep(name = "rules_rust_prost", version = "0.61.0")
27-
bazel_dep(name = "rules_rust_wasm_bindgen", version = "0.61.0")
27+
bazel_dep(name = "rules_rust_prost", version = "0.65.0")
28+
bazel_dep(name = "rules_rust_wasm_bindgen", version = "0.65.0")
2829

2930
register_toolchains("@rules_rust//rust/private/dummy_cc_toolchain:dummy_cc_wasm32_toolchain")
3031
# Third party crates setup is still in the WORKSPACE.bazel file...

MODULE.bazel.lock

Lines changed: 164 additions & 161 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

blade/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ cfg_if! {
190190

191191

192192
if args.version {
193-
println!("Blade {VERSION}");
193+
println!("Blade {VERSION}-gi");
194194
return Ok(());
195195
}
196196

flake.lock

Lines changed: 70 additions & 92 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)