diff --git a/rust/bazel/aspects.bzl b/rust/bazel/aspects.bzl index b7f233faca153..95a8dd0b5b9bc 100644 --- a/rust/bazel/aspects.bzl +++ b/rust/bazel/aspects.bzl @@ -326,6 +326,7 @@ def _compile_rust(ctx, attr, src, extra_srcs, deps, aliases, runtime): owner = ctx.label, ), output_hash = output_hash, + allowed_unstable_rust_features = ["register_tool"], ) return DepVariantInfo(