From dfad229785bd9ab4091b5c4564fae3ff7cc86fb0 Mon Sep 17 00:00:00 2001 From: Zoey Greer Date: Fri, 15 Nov 2024 11:54:11 -0500 Subject: [PATCH] remove plugin_output --- rust/aspects.bzl | 7 ------- 1 file changed, 7 deletions(-) diff --git a/rust/aspects.bzl b/rust/aspects.bzl index f245455bc45e..7799cf295b46 100644 --- a/rust/aspects.bzl +++ b/rust/aspects.bzl @@ -123,12 +123,6 @@ def _generate_rust_gencode( ), ) - proto_root = proto_info.proto_source_root - # Handles virtual import cases - if proto_root.startswith(ctx.bin_dir.path): - proto_root = proto_root[len(ctx.bin_dir.path) + 1:] - - proto_common.compile( actions = ctx.actions, proto_info = proto_info, @@ -136,7 +130,6 @@ def _generate_rust_gencode( additional_args = additional_args, generated_files = rs_outputs + cc_outputs, proto_lang_toolchain_info = proto_lang_toolchain, - plugin_output = ctx.bin_dir.path + "/" + proto_root ) return (rs_outputs, cc_outputs)