diff options
author | Bert Belder <bertbelder@gmail.com> | 2019-01-14 03:37:24 +0100 |
---|---|---|
committer | Bert Belder <bertbelder@gmail.com> | 2019-01-14 05:03:14 +0100 |
commit | 8039e2a55a9e01064b65a78423b0a49ac71d4361 (patch) | |
tree | af5bd30fae4f4b71f298e54cf2a830586d3dd7f4 /build_extra/rust/BUILD.gn | |
parent | eab457ef957ff838c7db5f9549a8145bf405809d (diff) |
third_party: upgrade rust crates, now with `--edition 2018` support
Diffstat (limited to 'build_extra/rust/BUILD.gn')
-rw-r--r-- | build_extra/rust/BUILD.gn | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/build_extra/rust/BUILD.gn b/build_extra/rust/BUILD.gn index 7374dd7ed..075719667 100644 --- a/build_extra/rust/BUILD.gn +++ b/build_extra/rust/BUILD.gn @@ -880,7 +880,7 @@ rust_crate("rustls") { } rust_crate("rustyline") { - source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/rustyline-2.1.0/src/lib.rs" + source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/rustyline-3.0.0/src/lib.rs" extern = [ ":dirs", ":libc", @@ -892,6 +892,8 @@ rust_crate("rustyline") { args = [ "--cap-lints", "allow", + "--edition", + "2018", ] if (is_posix) { extern += [ |