commit | 8751d4890044d2f5956611f9b33e1ec14021809f | [log] [tgz] |
---|---|---|
author | Brian Silverman <bsilver16384@gmail.com> | Wed May 18 23:28:44 2022 -0700 |
committer | Brian Silverman <bsilver16384@gmail.com> | Tue May 24 00:24:35 2022 -0700 |
tree | 17911284231aa38c190bdb85e0f80b1e198bf031 | |
parent | bfd2f831ff805675cb2ae9d0891553893d7aa1a8 [diff] [blame] |
Support linking Rust code into a C++ binary This is based on a version of my upstream PR: https://github.com/bazelbuild/rules_rust/pull/1350 Change-Id: Ica7097c10666d2e0017336cf7d81420605238493 Signed-off-by: Brian Silverman <bsilver16384@gmail.com>
diff --git a/tools/rust/BUILD b/tools/rust/BUILD index fccc3e4..4d9e4d6 100644 --- a/tools/rust/BUILD +++ b/tools/rust/BUILD
@@ -132,3 +132,9 @@ ], ) ''' + +cc_library( + name = "forward_allocator", + srcs = ["forward_allocator.c"], + visibility = ["//visibility:public"], +)