Skip to content

Compiler errors due to unstable / experimental features #2

@nocko

Description

@nocko

I couldn't find dockcross-linux-armv7-rust, so I attempted to build this way:

docker run --rm -v c:\\Users\\nock\\devel\\plato:/work rustcross/arm-unknown-linux-gnueabihf:latest ./build.sh

It builds most of the dependencies, but then bails on unstable / experimental features:

error: `pub(restricted)` syntax is experimental (see issue #32409)
  --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/crockford-1.0.1/src/error.rs:15:9
   |
15 |     pub(crate) fn new(kind: Kind, message: &'static str) -> Error {
   |         ^^^^^

error: struct field shorthands are unstable (see issue #37340)
  --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/crockford-1.0.1/src/error.rs:16:17
   |
16 |         Error { kind, message }
   |                 ^^^^

error: struct field shorthands are unstable (see issue #37340)
  --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/crockford-1.0.1/src/error.rs:16:23
   |
16 |         Error { kind, message }
   |                       ^^^^^^^

error: aborting due to 3 previous errors

Do you have time to jot a few notes on how to build this project?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions