Skip to content

Commit

Permalink
Update BUILD.bazel
Browse files Browse the repository at this point in the history
adding rust_doc_test to ffi example
  • Loading branch information
sebas-zip authored Jan 8, 2025
1 parent f329c0c commit 08bff2b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion examples/ffi/rust_calling_c/example_2/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("@rules_rust//rust:defs.bzl", "rust_doc", "rust_library", "rust_test")
load("@rules_rust//rust:defs.bzl", "rust_doc", "rust_doc_test", "rust_library", "rust_test")

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

Expand All @@ -24,6 +24,11 @@ rust_doc(
crate = ":matrix",
)

rust_doc_test(
name = "matrix_doc_test",
crate = ":matrix",
)

## Do the same as above, but with a dynamic c library.

rust_library(
Expand Down

0 comments on commit 08bff2b

Please sign in to comment.