Skip to content

Commit

Permalink
Dockerfile: Bump Rust to version 1.56 to fix build error
Browse files Browse the repository at this point in the history
Error was:

  error[E0658]: use of unstable library feature 'str_strip': newly added
    --> /usr/local/cargo/registry/src/github.com-1ecc6299db9ec823/impl-serde-0.3.2/src/serialize.rs:97:24
     |
  97 |     let (v, stripped) = v.strip_prefix("0x").map_or((v, false), |v| (v, true));
     |                           ^^^^^^^^^^^^
     |
     = note: see issue #67302 <rust-lang/rust#67302> for more information
  • Loading branch information
juztamau5 committed Nov 19, 2021
1 parent e467185 commit 3e06479
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM rust:1.44 as build
FROM rust:1.56 as build

ENV BASE /opt/cartesi
RUN \
Expand Down

0 comments on commit 3e06479

Please sign in to comment.