From 988ec88dd081fd84241f40b8bce64b2aeb39ebf7 Mon Sep 17 00:00:00 2001 From: "Kevin (Kun) \"Kassimo\" Qian" Date: Tue, 23 Oct 2018 21:02:43 -0700 Subject: Switch to getopts for flag parsing (#1080) --- build_extra/rust/BUILD.gn | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'build_extra') 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" ] +} -- cgit v1.2.3