diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2018-12-23 12:39:40 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-23 12:39:40 -0500 |
commit | 63d558da0ce5b88e8f06ac7d8e13d93161063d66 (patch) | |
tree | d5bcd563f31dd1a294117f85f55a5367da2212a8 /build_extra/rust | |
parent | 6cc998f28bb1cf119ca96bac385c7361bc1f7021 (diff) |
Use flatbuffers from crates.io (#1400)
Diffstat (limited to 'build_extra/rust')
-rw-r--r-- | build_extra/rust/BUILD.gn | 5 |
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 = [ |