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/WORKSPACE b/WORKSPACE index 50aad8c..79af5a3 100644 --- a/WORKSPACE +++ b/WORKSPACE
@@ -841,6 +841,7 @@ rust_toolchain_repository( name = "rust", + allocator_library = "@//tools/rust:forward_allocator", edition = "2021", exec_triple = "x86_64-unknown-linux-gnu", extra_target_triples = [