internal change
PiperOrigin-RevId: 648641312
Change-Id: I3f7568e43b1b125147d808c9c0c54e4aa2194a5c
diff --git a/bazel/llvm.bzl b/bazel/llvm.bzl
index 8f9a19a..2404f73 100644
--- a/bazel/llvm.bzl
+++ b/bazel/llvm.bzl
@@ -53,7 +53,7 @@
executable = False,
)
-LLVM_COMMIT_SHA = "4713bd4ccc0c0d568f92916e7851d993291742c0"
+LLVM_COMMIT_SHA = "8598bcb9934dca16ea16d87304e00defc85d986c"
def llvm_loader_repository_dependencies():
# This *declares* the dependency, but it won't actually be *downloaded* unless it's used.
diff --git a/rs_bindings_from_cc/bazel_support/compile_rust.bzl b/rs_bindings_from_cc/bazel_support/compile_rust.bzl
index 79b4395..b108210 100644
--- a/rs_bindings_from_cc/bazel_support/compile_rust.bzl
+++ b/rs_bindings_from_cc/bazel_support/compile_rust.bzl
@@ -95,7 +95,9 @@
compile_data_targets = depset([]),
owner = ctx.label,
),
- rust_flags = ctx.attr._extra_rustc_flags[ExtraRustcFlagsInfo].extra_rustc_flags + ["-Zallow-features=custom_inner_attributes,impl_trait_in_assoc_type,register_tool,negative_impls,vec_into_raw_parts,extern_types,arbitrary_self_types"],
+ rust_flags = ctx.attr._extra_rustc_flags[ExtraRustcFlagsInfo].extra_rustc_flags + ["-Zallow-features=custom_inner_attributes,impl_trait_in_assoc_type,register_tool,negative_impls,vec_into_raw_parts,extern_types,arbitrary_self_types"] +
+ # TODO(b/349776381): remove.
+ ["-Adead_code"],
output_hash = output_hash,
force_all_deps_direct = True,
include_coverage = include_coverage,