Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit removes the feature attribute asm and add a namespace for the usage of the asm macro. Currently the following build error is generated when using rustc 1.66.0-nightly (c0983a9aa 2022-10-12): $ cargo b Compiling drogue-boot v0.1.2 (/iot/drogue/drogue-boot) error: cannot find macro `asm` in this scope --> src/lib.rs:100:9 | 100 | asm! { | ^^^ | = note: consider importing this macro: core::arch::asm warning: the feature `asm` has been stable since 1.59.0 and no longer requires an attribute to enable --> src/lib.rs:4:12 | 4 | #![feature(asm)] | ^^^ | = note: `#[warn(stable_features)]` on by default warning: `drogue-boot` (lib) generated 1 warning error: could not compile `drogue-boot` due to previous error; 1 warning emitted Refs: rust-lang/rust#84019 Signed-off-by: Daniel Bevenius <daniel.bevenius@gmail.com>
- Loading branch information