Skip to content

Commit 2abb7dd

Browse files
committed
Update the asm toolchain to 1.94.0.
1 parent 84e5c01 commit 2abb7dd

16 files changed

+5
-8
lines changed

cortex-m/asm-toolchain

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
nightly-2021-12-16
1+
1.94.0

cortex-m/asm/lib.rs

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
//! to build this file themselves.
66
//!
77
//! Nowadays the assembly stubs are no longer actual assembly files, but actually just this small
8-
//! Rust crate that uses unstable inline assembly, coupled with the `xtask` tool to invoke rustc
9-
//! and build the files.
8+
//! Rust crate that uses inline assembly, coupled with the `xtask` tool to invoke rustc and build
9+
//! the files.
1010
//!
1111
//! Precompiling this to a static lib allows users to call assembly routines from stable Rust, but
1212
//! also perform [linker plugin LTO] with the precompiled artifacts to completely inline the
@@ -21,21 +21,18 @@
2121
//!
2222
//! # Rust version management
2323
//!
24-
//! Since inline assembly is still unstable, and we want to ensure that the created blobs are
25-
//! up-to-date in CI, we have to pin the nightly version we use for this. The nightly toolchain is
24+
//! Since we want to ensure that the created blobs are up-to-date in CI, we have to
25+
//! pin the version of the rust toolchain that we use for this. The toolchain version is
2626
//! stored in `asm-toolchain`.
2727
//!
2828
//! The `cargo xtask` automation will automatically install the `asm-toolchain` as well as all
2929
//! Cortex-M targets needed to generate the blobs.
3030
//!
3131
//! [linker plugin LTO]: https://doc.rust-lang.org/stable/rustc/linker-plugin-lto.html
3232
33-
#![feature(asm)]
3433
#![no_std]
3534
#![crate_type = "staticlib"]
3635
#![deny(warnings)]
37-
// Don't warn about feature(asm) being stable on Rust >= 1.59.0
38-
#![allow(stable_features)]
3936

4037
mod inline;
4138

-24 Bytes
Binary file not shown.

cortex-m/bin/thumbv6m-none-eabi.a

-1.3 KB
Binary file not shown.
-12 Bytes
Binary file not shown.

cortex-m/bin/thumbv7em-none-eabi.a

-1.45 KB
Binary file not shown.
76 Bytes
Binary file not shown.
-1.46 KB
Binary file not shown.
-100 Bytes
Binary file not shown.

cortex-m/bin/thumbv7m-none-eabi.a

-1.44 KB
Binary file not shown.

0 commit comments

Comments
 (0)