Skip to content

Instantly share code, notes, and snippets.

View william-smith-skydio's full-sized avatar

William Smith william-smith-skydio

View GitHub Profile
build --@rules_rust//:rustc_output_diagnostics=true
@william-smith-skydio
william-smith-skydio / BUILD.bazel
Last active October 9, 2023 06:24
Prost: transitive dependencies in the same package are duplicated (https://github.com/bazelbuild/rules_rust/issues/2185)
load("@rules_proto//proto:defs.bzl", "proto_library")
load("//proto/prost:defs.bzl", "rust_prost_library")
proto_library(
name = "external_proto",
srcs = ["external.proto"],
strip_import_prefix = "/proto/prost/private/tests/transitive_same_package",
)
rust_prost_library(
build --cxxopt --std=c++14