Skip to content

Commit ac0cb85

Browse files
automate, automate
1 parent 5e9347e commit ac0cb85

18 files changed

+49
-16
lines changed

asm-toolchain

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
nightly-2020-08-26

asm.rs

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,20 @@
1414
//! assembly.
1515
//!
1616
//! For developers and contributors to `cortex-m`, this setup means that they don't have to install
17-
//! any binutils, assembler, or C compiler to hack on the crate. All they need is a nightly rustc
18-
//! and run `cargo xtask assemble` to rebuild the archives from this file.
17+
//! any binutils, assembler, or C compiler to hack on the crate. All they need is to run `cargo
18+
//! xtask assemble` to rebuild the archives from this file.
1919
//!
2020
//! Cool, right?
2121
//!
22+
//! # Rust version management
23+
//!
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
26+
//! stored in `asm-toolchain`.
27+
//!
28+
//! The `cargo xtask` automation will automatically install the `asm-toolchain` as well as all
29+
//! Cortex-M targets needed to generate the blobs.
30+
//!
2231
//! [linker plugin LTO]: https://doc.rust-lang.org/stable/rustc/linker-plugin-lto.html
2332
2433
#![feature(asm)]

bin/thumbv6m-none-eabi-lto.a

76 Bytes
Binary file not shown.

bin/thumbv6m-none-eabi.a

16 Bytes
Binary file not shown.

bin/thumbv7em-none-eabi-lto.a

72 Bytes
Binary file not shown.

bin/thumbv7em-none-eabi.a

16 Bytes
Binary file not shown.

bin/thumbv7em-none-eabihf-lto.a

72 Bytes
Binary file not shown.

bin/thumbv7em-none-eabihf.a

16 Bytes
Binary file not shown.

bin/thumbv7m-none-eabi-lto.a

80 Bytes
Binary file not shown.

bin/thumbv7m-none-eabi.a

12 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)