summaryrefslogtreecommitdiff
path: root/rust/builder_test.go
diff options
context:
space:
mode:
author Ivan Lozano <ivanlozano@google.com> 2020-08-04 17:46:22 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2020-08-04 17:46:22 +0000
commit89e4882d3764dc5c749a630b22381d9ead761500 (patch)
tree8d36850db208a3215e70376b338fbce8c959a960 /rust/builder_test.go
parent9b7b8f169a069bd9011fb7a88174044d6c845760 (diff)
parent26ecd6c5974fcd3ec09792394e7b9cdf32f5f64f (diff)
Merge "[rust] Add SourceProviders as crates support."
Diffstat (limited to 'rust/builder_test.go')
-rw-r--r--rust/builder_test.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/rust/builder_test.go b/rust/builder_test.go
index 04b67d9bd..5c11cb7b5 100644
--- a/rust/builder_test.go
+++ b/rust/builder_test.go
@@ -28,12 +28,14 @@ func TestSourceProviderCollision(t *testing.T) {
}
rust_bindgen {
name: "libbindings1",
- stem: "bindings",
+ source_stem: "bindings",
+ crate_name: "bindings1",
wrapper_src: "src/any.h",
}
rust_bindgen {
name: "libbindings2",
- stem: "bindings",
+ source_stem: "bindings",
+ crate_name: "bindings2",
wrapper_src: "src/any.h",
}
`)