summaryrefslogtreecommitdiff
path: root/build_extra/rust/BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'build_extra/rust/BUILD.gn')
-rw-r--r--build_extra/rust/BUILD.gn4
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 += [