9c6bcd2ee8fdb7f29ea050dacf882cf742aea7e0
When trying to follow the Getting Started->Building instructions, the `panic-abort` crate throws the following build error on rust stable version 1.33: ``` Compiling panic-abort v0.3.1 error[E0554]: #![feature] may not be used on the stable release channel --> /home/mike/.cargo/registry/src/github.com-1ecc6299db9ec823/panic-abort-0.3.1/src/lib.rs:22:1 | 22 | #![feature(core_intrinsics)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error[E0554]: #![feature] may not be used on the stable release channel --> /home/mike/.cargo/registry/src/github.com-1ecc6299db9ec823/panic-abort-0.3.1/src/lib.rs:23:1 | 23 | #![feature(panic_handler)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ error: aborting due to 2 previous errors For more information about this error, try `rustc --explain E0554`. error: Could not compile `panic-abort`. To learn more, run the command again with --verbose. ``` Switch to the `panic-halt` crate that builds on stable and provides the `#[panic_handler]` function necesary to get a minimal successful build.
MicroRust
Learn embedded software in Rust on the micro:bit
License
The documentation is licensed under
- Creative Commons Attribution 4.0 License (LICENSE-CC-BY or https://creativecommons.org/licenses/by/4.0/legalcode)
And the source code is licensed under either of
-
Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
-
MIT License (LICENSE-MIT or https://opensource.org/licenses/MIT)
at your option.
Contribution
Contribution is welcome by either submitting an issue or a pull request. Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be licensed as above, without any additional terms or conditions.
Description
Languages
Rust
60.9%
HTML
33.7%
Shell
5.4%