Giter Site home page Giter Site logo

Comments (3)

nihalpasham avatar nihalpasham commented on May 30, 2024

error[E0554]: #![feature] may not be used on the stable release channel

This is a rust compiler error (i.e. not a rustBoot error). You're probably using the stable channel for your builds. You need to switch to nightly. Here is a link to help you get rid of the error.

https://stackoverflow.com/questions/58226545/how-to-switch-between-rust-toolchains

from rustboot.

datnguyentien1981 avatar datnguyentien1981 commented on May 30, 2024

Dear Nihal

I setup the environment as your advice with below configuration

rustup override set nightly

and I can compile Rustboot source code without error

nad6hc@VM-NAD6HC-OSD5:~/Prj_Security/SourceCode/rustBoot-main/rustBoot$ cargo xtask build-sign-flash rustBoot nrf52840
Compiling version_check v0.9.3
Compiling typenum v1.14.0
Compiling subtle v2.4.1
Compiling rand_core v0.6.3
Compiling proc-macro2 v1.0.29
Compiling unicode-xid v0.2.2
Compiling semver v1.0.4
Compiling syn v1.0.76
Compiling zeroize v1.4.1
Compiling memchr v2.3.4
Compiling der v0.4.3
Compiling cpufeatures v0.2.1
Compiling defmt-parser v0.2.2
Compiling opaque-debug v0.3.0
Compiling cfg-if v1.0.0
Compiling anyhow v1.0.44
Compiling xshell-macros v0.1.17
Compiling ff v0.10.1
Compiling generic-array v0.14.4
Compiling nom v6.2.1
Compiling group v0.10.0
Compiling xshell v0.1.17
Compiling quote v1.0.9
Compiling defmt v0.2.3
Compiling digest v0.9.0
Compiling crypto-bigint v0.2.9
Compiling crypto-mac v0.11.1
Compiling block-buffer v0.9.0
Compiling signature v1.3.1
Compiling hmac v0.11.0
Compiling sha2 v0.9.8
Compiling elliptic-curve v0.10.6
Compiling ecdsa v0.12.4
Compiling p256 v0.9.0
Compiling defmt-macros v0.2.3
Compiling rustBoot v0.1.0 (/home/nad6hc/Prj_Security/SourceCode/rustBoot-main/rustBoot)
Compiling xtask v0.1.0 (/home/nad6hc/Prj_Security/SourceCode/rustBoot-main/xtask)
Finished dev [unoptimized + debuginfo] target(s) in 11.52s
Running /home/nad6hc/Prj_Security/SourceCode/rustBoot-main/target/debug/xtask build-sign-flash rustBoot nrf52840
$ cargo build --release
Finished release [optimized + debuginfo] target(s) in 0.03s
$ cargo build --release
Finished release [optimized + debuginfo] target(s) in 0.03s
$ cargo build --release
Finished release [optimized + debuginfo] target(s) in 0.04s
$ python3 convert2bin.py
$ wsl python3 signer.py

Thank you
Dat Nguyen

from rustboot.

nihalpasham avatar nihalpasham commented on May 30, 2024

Cool, I'm closing this issue.

from rustboot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.