Lorenz Brun | d141d18 | 2023-10-02 15:07:01 +0200 | [diff] [blame^] | 1 | load("@rules_rust//proto/prost:defs.bzl", "rust_prost_toolchain") |
| 2 | |
| 3 | rust_prost_toolchain( |
| 4 | name = "prost_efi_toolchain_impl", |
| 5 | is_nostd = True, |
| 6 | prost_plugin = "@raze__protoc_gen_prost__0_2_3//:cargo_bin_protoc_gen_prost", |
| 7 | prost_runtime = "@rsefi__prost__0_12_1//:prost", |
| 8 | prost_types = "@rsefi__prost_types__0_12_1//:prost_types", |
| 9 | proto_compiler = "@com_google_protobuf//:protoc", |
| 10 | # This defaults to a non-empty value, which triggers an error that not all |
| 11 | # tonic flags are set. We do not want tonic, so explicitly set this to |
| 12 | # an empty string. |
| 13 | tonic_plugin_flag = "", |
| 14 | ) |
| 15 | |
| 16 | toolchain( |
| 17 | name = "prost_efi_toolchain", |
| 18 | toolchain = "prost_efi_toolchain_impl", |
| 19 | toolchain_type = "@rules_rust//proto/prost:toolchain_type", |
| 20 | ) |