/// 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),*) }, } } }}; } 2-legacy Unnamed repository; edit this file 'description' to name the repository.
aboutsummaryrefslogtreecommitdiff
path: root/examples/blog (unfollow)
AgeCommit message (Expand)AuthorFilesLines
2022-06-27[ci] formatGravatar FredKSchott 9-23/+25
2022-06-27update telemetry to support more anonymized project id (#3713)Gravatar Fred K. Schott 20-351/+311
2022-06-27SImplify "astro add" by removing confusing multi-select (#3715)Gravatar Fred K. Schott 13-258/+157