Finally the entire build passes.
There's a bug that run() no longer waits for the spawned pager, which will
be fixed by the next patch.
( )
Alphare |
hg-reviewers |
Finally the entire build passes.
There's a bug that run() no longer waits for the spawned pager, which will
be fixed by the next patch.
No Linters Available |
No Unit Test Coverage |
+ error[E0670]: async fn` is not permitted in the 2015 edition`
Appears that we need to specify --edition=2018. Sent patch.
In D8448#126114, @yuja wrote:+ error[E0670]: async fn` is not permitted in the 2015 edition`
Appears that we need to specify --edition=2018. Sent patch.
Patch was sent, the series looks ready to land.
Path | Packages | |||
---|---|---|---|---|
M | rust/chg/Cargo.toml (3 lines) | |||
M | rust/chg/src/main.rs (46 lines) |
Commit | Parents | Author | Summary | Date |
---|---|---|---|---|
a355de057223 | 5ab56a725750 | Yuya Nishihara | Apr 10 2020, 1:21 PM |
[package] | [package] | ||||
name = "chg" | name = "chg" | ||||
version = "0.1.0" | version = "0.1.0" | ||||
authors = ["Yuya Nishihara <yuya@tcha.org>"] | authors = ["Yuya Nishihara <yuya@tcha.org>"] | ||||
description = "Client for Mercurial command server with cHg extension" | description = "Client for Mercurial command server with cHg extension" | ||||
license = "GPL-2.0+" | license = "GPL-2.0+" | ||||
edition = "2018" | edition = "2018" | ||||
# TODO: enable auto discovery | |||||
autobins = false | |||||
[dependencies] | [dependencies] | ||||
async-trait = "0.1" | async-trait = "0.1" | ||||
bytes = "0.5" | bytes = "0.5" | ||||
futures = "0.3" | futures = "0.3" | ||||
libc = "0.2" | libc = "0.2" | ||||
log = { version = "0.4", features = ["std"] } | log = { version = "0.4", features = ["std"] } | ||||
tokio-hglib = "0.3" | tokio-hglib = "0.3" | ||||
[dependencies.tokio] | [dependencies.tokio] | ||||
version = "0.2" | version = "0.2" | ||||
features = ["rt-core", "io-util", "time", "process", "macros"] | features = ["rt-core", "io-util", "time", "process", "macros"] | ||||
[build-dependencies] | [build-dependencies] | ||||
cc = "1.0" | cc = "1.0" |
With this series I get lots of
+ error[E0670]: async fn` is not permitted in the 2015 edition`
from test-check-rust-format.t. Am I doing something wrong?