summaryrefslogtreecommitdiff
path: root/build_extra/rust/BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'build_extra/rust/BUILD.gn')
-rw-r--r--build_extra/rust/BUILD.gn5
1 files changed, 5 insertions, 0 deletions
diff --git a/build_extra/rust/BUILD.gn b/build_extra/rust/BUILD.gn
index 8c0a0fd6b..316a30e86 100644
--- a/build_extra/rust/BUILD.gn
+++ b/build_extra/rust/BUILD.gn
@@ -11,6 +11,11 @@ import("rust.gni")
crates = "//third_party/rust_crates"
registry_github = "$crates/registry/src/github.com-1ecc6299db9ec823/"
+rust_crate("flatbuffers") {
+ source_root = "$registry_github/flatbuffers-0.5.0/src/lib.rs"
+ extern = [ ":smallvec" ]
+}
+
rust_crate("nix") {
source_root = "$registry_github/nix-0.11.0/src/lib.rs"
extern = [