Skip to content

Commit c4c973f

Browse files
committed
Enabling tokio_unstable
1 parent 338b225 commit c4c973f

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.cargo/config.toml

+3
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,6 @@ xclippy = [
1919
"-Aclippy::enum-variant-names",
2020
"-Aclippy::self-named-constructors",
2121
]
22+
23+
[build]
24+
rustflags = ["--cfg", "tokio_unstable"]

docker/build-rust-all.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
set -e
55

66
# Build all the rust release binaries
7-
cargo build --release \
7+
RUSTFLAGS="--cfg tokio_unstable" cargo build --release \
88
-p aptos \
99
-p aptos-node \
1010
-p aptos-indexer \

0 commit comments

Comments
 (0)