Skip to content

Commit e5b9633

Browse files
schoppmpcopybara-github
authored andcommitted
Remove unnecessary clang-only flags from cxx command
PiperOrigin-RevId: 828600716
1 parent c5f5edb commit e5b9633

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

bazel/rust_cxx_bridge.bzl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,6 @@ def rust_cxx_bridge(name, src, deps = [], visibility = None, crate_features = []
105105
srcs = [out_cc],
106106
hdrs = [out_h],
107107
deps = deps + ["%s/include" % name],
108-
# Allow "backwards" dependencies from the impl library onto the generated thunk code.
109-
# (Used e.g. if it calls `extern "Rust"` functions).
110-
linkopts = ["-Wl,--warn-backrefs-exclude=blaze-out/*/%s/_objs/%s/*" % (native.package_name(), name)],
111108
**kwargs
112109
)
113110

0 commit comments

Comments
 (0)