Skip to content

Commit

Permalink
fwdansi gn integration
Browse files Browse the repository at this point in the history
  • Loading branch information
ry committed Jun 24, 2019
1 parent 0253dc0 commit 8438d91
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
13 changes: 13 additions & 0 deletions build_extra/rust/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -1480,6 +1480,19 @@ rust_rlib("termcolor") {
}
}

rust_rlib("fwdansi") {
edition = "2015"
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/fwdansi-1.0.1/src/lib.rs"
args = [
"--cap-lints",
"allow",
]
extern_rlib = [
"memchr",
"termcolor",
]
}

rust_rlib("textwrap") {
edition = "2015"
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/textwrap-0.11.0/src/lib.rs"
Expand Down
1 change: 1 addition & 0 deletions cli/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ main_extern_rlib = [
"dirs",
"flatbuffers",
"futures",
"fwdansi",
"http",
"hyper",
"hyper_rustls",
Expand Down

0 comments on commit 8438d91

Please sign in to comment.