summaryrefslogtreecommitdiff
path: root/build_extra/rust/BUILD.gn
diff options
context:
space:
mode:
authorKevin (Kun) "Kassimo" Qian <kevinkassimo@gmail.com>2018-10-23 21:02:43 -0700
committerRyan Dahl <ry@tinyclouds.org>2018-10-23 21:02:43 -0700
commit988ec88dd081fd84241f40b8bce64b2aeb39ebf7 (patch)
tree5732a7cb78b1365d92a50e020bbfffcbaf94ca62 /build_extra/rust/BUILD.gn
parenta4fb5175cecc62573eaf3406154ece2938f45b88 (diff)
Switch to getopts for flag parsing (#1080)
Diffstat (limited to 'build_extra/rust/BUILD.gn')
-rw-r--r--build_extra/rust/BUILD.gn9
1 files changed, 9 insertions, 0 deletions
diff --git a/build_extra/rust/BUILD.gn b/build_extra/rust/BUILD.gn
index 1197de4f7..10f4da6a2 100644
--- a/build_extra/rust/BUILD.gn
+++ b/build_extra/rust/BUILD.gn
@@ -920,3 +920,12 @@ rust_crate("lock_api") {
source_root = "$registry_github/lock_api-0.1.3/src/lib.rs"
extern = [ ":scopeguard" ]
}
+
+rust_crate("unicode_width") {
+ source_root = "$registry_github/unicode-width-0.1.5/src/lib.rs"
+}
+
+rust_crate("getopts") {
+ source_root = "$registry_github/getopts-0.2.18/src/lib.rs"
+ extern = [ ":unicode_width" ]
+}