aboutsummaryrefslogtreecommitdiff
path: root/src/call_asm.rs
diff options
context:
space:
mode:
authorGravatar Adam Greig <adam@adamgreig.com> 2022-02-21 19:57:18 +0000
committerGravatar Adam Greig <adam@adamgreig.com> 2022-02-24 01:44:11 +0000
commit894f2aabdbd65f85eecf25debc2326f0387863c7 (patch)
treef08ad0ca10df764c5b29549421e874c4c3512bec /src/call_asm.rs
parent9e8dd294b04510d727d50039a7f84292789aed0e (diff)
downloadcortex-m-894f2aabdbd65f85eecf25debc2326f0387863c7.tar.gz
cortex-m-894f2aabdbd65f85eecf25debc2326f0387863c7.tar.zst
cortex-m-894f2aabdbd65f85eecf25debc2326f0387863c7.zip
Remove outlined asm, replace with stable inline asm.
Diffstat (limited to 'src/call_asm.rs')
-rw-r--r--src/call_asm.rs24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/call_asm.rs b/src/call_asm.rs
deleted file mode 100644
index 295277f..0000000
--- a/src/call_asm.rs
+++ /dev/null
@@ -1,24 +0,0 @@
-/// An internal macro to invoke an assembly routine.
-///
-/// Depending on whether the unstable `inline-asm` feature is enabled, this will either call into
-/// the inline assembly implementation directly, or through the FFI shim (see `asm/lib.rs`).
-macro_rules! call_asm {
- ( $func:ident ( $($args:ident: $tys:ty),* ) $(-> $ret:ty)? ) => {{
- #[allow(unused_unsafe)]
- unsafe {
- match () {
- #[cfg(feature = "inline-asm")]
- () => crate::asm::inline::$func($($args),*),
-
- #[cfg(not(feature = "inline-asm"))]
- () => {
- extern "C" {
- fn $func($($args: $tys),*) $(-> $ret)?;
- }
-
- $func($($args),*)
- },
- }
- }
- }};
-}
move'>jarred/move Unnamed repository; edit this file 'description' to name the repository.
aboutsummaryrefslogtreecommitdiff
path: root/src/io/time.zig (unfollow)
AgeCommit message (Expand)AuthorFilesLines
2022-03-22Handle integer sizes greater than i32Gravatar Jarred SUmner 14-74/+142
2022-03-22Linux-specific tweaksGravatar Jarred SUmner 6-43/+52
2022-03-22`Response.file` -> `Bun.file`Gravatar Jarred Sumner 3-72/+65
2022-03-21sendfile worksGravatar Jarred Sumner 7-62/+174
2022-03-21[bun.js] 2/? Implement `Response.file`, sendfile editionGravatar Jarred Sumner 8-161/+506
2022-03-21[bun.js] 1/? Implement `Response.file`Gravatar Jarred Sumner 13-103/+1103