RUST build fails
sebgoa opened this issue · 2 comments
sebgoa commented
bash example works great.
rust fails at:
docker run --rm --user "$(id -u)":"$(id -g)" -v "$PWD":/usr/src/myapp -w /usr/src/myapp rust:1.30.0 cargo build -p lambda_runtime --example basic --release
...
Downloading backtrace-sys v0.1.24
Downloading rustc-demangle v0.1.9
Downloading cc v1.0.25
Downloading ryu v0.2.6
Compiling lambda_runtime_client v0.1.0 (/usr/src/myapp/lambda-runtime-client)
error: Edition 2018 is unstable and only available for nightly builds of rustc.
error: Could not compile `lambda_runtime_client`.
To learn more, run the command again with --verbose.
tzununbekov commented
Rust version was changed in awslabs/aws-lambda-rust-runtime
Updated readme with correct instructions
sebgoa commented
got it