diff options
author | 2020-08-31 21:08:05 +0000 | |
---|---|---|
committer | 2020-08-31 21:08:05 +0000 | |
commit | b05a24e6b31e039e059760a4245b378df008faf8 (patch) | |
tree | 50a7ce8ead7bb9ef1f34216e8934988572d442a8 /xtask/Cargo.toml | |
parent | 3260e397647b5ea4984e8c82cb537f2475da0f5d (diff) | |
parent | c27c8e5b063bd7058ba05dc3a9fa7886a1b1545c (diff) | |
download | cortex-m-b05a24e6b31e039e059760a4245b378df008faf8.tar.gz cortex-m-b05a24e6b31e039e059760a4245b378df008faf8.tar.zst cortex-m-b05a24e6b31e039e059760a4245b378df008faf8.zip |
Merge #262
262: Merge asm implementations r=therealprof a=jonas-schievink
This replaces the implementation of `inline-asm` with the file I wrote in #259 (and some fixes).
All functions that call assembly now do so via a `call_asm!` macro that either dispatches to a call to an `#[inline(always)]` function containing the inline `asm!`, or to the FFI shim. This makes all functions that call into asm significantly shorter.
The FFI shim is now also macro-generated, which makes it very small.
Co-authored-by: Jonas Schievink <jonasschievink@gmail.com>
Diffstat (limited to 'xtask/Cargo.toml')
-rw-r--r-- | xtask/Cargo.toml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/xtask/Cargo.toml b/xtask/Cargo.toml index 06c5143..e23d1a7 100644 --- a/xtask/Cargo.toml +++ b/xtask/Cargo.toml @@ -11,3 +11,7 @@ harness = false [dependencies] ar = "0.8.0" + +[dependencies.object] +version = "0.21.1" +features = ["write"] |