Skip to content

Commit 08bff2b

Browse files
authored
Update BUILD.bazel
adding rust_doc_test to ffi example
1 parent f329c0c commit 08bff2b

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

examples/ffi/rust_calling_c/example_2/BUILD.bazel

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
load("@rules_rust//rust:defs.bzl", "rust_doc", "rust_library", "rust_test")
1+
load("@rules_rust//rust:defs.bzl", "rust_doc", "rust_doc_test", "rust_library", "rust_test")
22

33
package(default_visibility = ["//rust_calling_c/example_2:__subpackages__"])
44

@@ -24,6 +24,11 @@ rust_doc(
2424
crate = ":matrix",
2525
)
2626

27+
rust_doc_test(
28+
name = "matrix_doc_test",
29+
crate = ":matrix",
30+
)
31+
2732
## Do the same as above, but with a dynamic c library.
2833

2934
rust_library(

0 commit comments

Comments
 (0)