Skip to content

Commit bd69eb5

Browse files
committed
Merge branch 'levsha/chore-replace-deprecated-exec_tools-by-tools' into 'master'
chore: replace deprecated exec_tools by tools exec_tools is deprecated and will be removed in bazel 7: bazelbuild/bazel#19132 See merge request dfinity-lab/public/ic!16662
2 parents a9fc954 + ec59d5b commit bd69eb5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bazel/canisters.bzl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def rust_canister(name, service_file, **kwargs):
8585
srcs = [name + ".raw", service_file],
8686
outs = [name + ".opt.wasm"],
8787
message = "Shrinking canister " + name,
88-
exec_tools = ["@crate_index//:ic-wasm__ic-wasm"],
88+
tools = ["@crate_index//:ic-wasm__ic-wasm"],
8989
cmd_bash = """
9090
$(location @crate_index//:ic-wasm__ic-wasm) $(location {input_wasm}) -o $@ shrink && \
9191
$(location @crate_index//:ic-wasm__ic-wasm) $@ -o $@ metadata candid:service --visibility public --file $(location {service_file})
@@ -151,7 +151,7 @@ def inject_version_into_wasm(*, name, src_wasm, version_file = "//bazel:version.
151151
],
152152
outs = [name + ".wasm"],
153153
message = "Injecting version into wasm.",
154-
exec_tools = ["@crate_index//:ic-wasm__ic-wasm"],
154+
tools = ["@crate_index//:ic-wasm__ic-wasm"],
155155
cmd_bash = " ".join([
156156
"$(location @crate_index//:ic-wasm__ic-wasm)",
157157
"$(location %s)" % src_wasm, # Input file.

0 commit comments

Comments
 (0)