Split global_asm! helper macros out from wasmtime-fibers (#4454)

This moves them into a new `wasmtime-asm-macros` crate that can be used not just
from the `wasmtime-fibers` crate but also from other crates (e.g. we will need
them in https://github.com/bytecodealliance/wasmtime/pull/4431).
This commit is contained in:
Nick Fitzgerald
2022-07-15 14:10:27 -07:00
committed by GitHub
parent 33312c5380
commit 439f566f3f
10 changed files with 97 additions and 57 deletions

View File

@@ -18,6 +18,8 @@
// `DW_CFA_AARCH64_negate_ra_state` DWARF operation (aliased with the
// `.cfi_window_save` assembler directive) informs an unwinder about this
use wasmtime_asm_macros::asm_func;
cfg_if::cfg_if! {
if #[cfg(target_os = "macos")] {
macro_rules! cfi_window_save { () => (""); }