From 20296dfcac7ce535f535747aca8bad07a181bee0 Mon Sep 17 00:00:00 2001 From: Vinh Tran Date: Fri, 25 Aug 2023 15:27:09 +0000 Subject: [PATCH] Add proc_macro_deps attribute --- cargo/private/cargo_build_script_wrapper.bzl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cargo/private/cargo_build_script_wrapper.bzl b/cargo/private/cargo_build_script_wrapper.bzl index 7a0d388734..9df1797fbe 100644 --- a/cargo/private/cargo_build_script_wrapper.bzl +++ b/cargo/private/cargo_build_script_wrapper.bzl @@ -18,6 +18,7 @@ def cargo_build_script( version = None, deps = [], link_deps = [], + proc_macro_deps, [], build_script_env = {}, data = [], tools = [], @@ -130,6 +131,7 @@ def cargo_build_script( crate_root = crate_root, crate_features = crate_features, deps = deps, + proc_macro_deps, data = data, rustc_env = rustc_env, rustc_flags = rustc_flags,