Remove `allow(dead_code)` from compiler flags, it is not necessary anymore
PiperOrigin-RevId: 667605920
Change-Id: I2025b2837d819903ebdda1f77801854fc10b89c7
diff --git a/rs_bindings_from_cc/bazel_support/compile_rust.bzl b/rs_bindings_from_cc/bazel_support/compile_rust.bzl
index 2109237..fa3f072 100644
--- a/rs_bindings_from_cc/bazel_support/compile_rust.bzl
+++ b/rs_bindings_from_cc/bazel_support/compile_rust.bzl
@@ -95,9 +95,7 @@
compile_data_targets = depset([]),
owner = ctx.label,
),
- rust_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"],
+ rust_flags = ["-Zallow-features=custom_inner_attributes,impl_trait_in_assoc_type,register_tool,negative_impls,vec_into_raw_parts,extern_types,arbitrary_self_types"],
output_hash = output_hash,
force_all_deps_direct = force_all_deps_direct,
include_coverage = include_coverage,