]> Repositorios git - scryer-prolog.git/commitdiff
Use lastest 1.xx Rust version in Docker build
authorNiklas Gruhn <[email protected]>
Wed, 18 Jan 2023 18:08:19 +0000 (19:08 +0100)
committerNiklas Gruhn <[email protected]>
Wed, 18 Jan 2023 18:08:19 +0000 (19:08 +0100)
With the previous Rust version 1.61, the build fails with

> error[E0658]: use of unstable library feature 'scoped_threads'

This has been "stabilized" in Rust 1.63. To avoid the hassle
of manually updating the version, we can just default to the
latest minor release.

Dockerfile

index 661ff5d0aa40cb98f84cfd6394c221ee92c4f741..0c1195ac8440699cc77012626286642e701314fb 100755 (executable)
@@ -1,5 +1,5 @@
 # See https://github.com/LukeMathWalker/cargo-chef
-ARG RUST_VERSION=1.61-buster
+ARG RUST_VERSION=1-buster
 FROM rust:${RUST_VERSION} as planner
 WORKDIR /scryer-prolog
 RUN cargo install cargo-chef