diff options
| author | Dmitry Sharshakov <sh7dm@outlook.com> | 2019-02-08 00:19:50 +0300 |
|---|---|---|
| committer | Ryan Dahl <ry@tinyclouds.org> | 2019-02-07 16:19:50 -0500 |
| commit | 5c50d2819b7b7f43820b0f2e572dff2fc0bb8c8b (patch) | |
| tree | 67474cb213c5b82873bf28d42638038c97b23fe1 /build_extra/rust | |
| parent | aea7884d11b6f10e2ccc0d6a7c5c154f84472ed4 (diff) | |
Add emojis to permission prompts (#1684)
Diffstat (limited to 'build_extra/rust')
| -rw-r--r-- | build_extra/rust/BUILD.gn | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/build_extra/rust/BUILD.gn b/build_extra/rust/BUILD.gn index 09a32d849..ca136ed78 100644 --- a/build_extra/rust/BUILD.gn +++ b/build_extra/rust/BUILD.gn @@ -10,6 +10,18 @@ import("rust.gni") cargo_home = "//third_party/rust_crates" +rust_crate("ansi_term") { + edition = "2015" + source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/ansi_term-0.11.0/src/lib.rs" + args = [ + "--cap-lints", + "allow", + ] + if (is_win) { + extern = [ ":winapi" ] + } +} + rust_crate("arrayvec") { edition = "2015" source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.4.10/src/lib.rs" |
