From 84506ca74d1f8f73bdcf443dd290d5fe83977560 Mon Sep 17 00:00:00 2001 From: Ryan Lopopolo Date: Sun, 23 Oct 2022 22:47:11 -0700 Subject: [PATCH] Update docs to reference C-unwind ABI --- ARCHITECTURE.md | 6 +++--- artichoke-backend/README.md | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ARCHITECTURE.md b/ARCHITECTURE.md index 4a61caa4b3b7..db714d0b9914 100644 --- a/ARCHITECTURE.md +++ b/ARCHITECTURE.md @@ -96,9 +96,9 @@ variables][mruby-globals]. Previous project goals and execution localized mruby As core APIs and data structures are implemented in _Spinoso_ crates, `artichoke-backend` will disable mruby C functions, [reimplement them in -Rust][artichoke-strangler], and expose `unsafe extern "C" fn` replacements for -interoperability with the remaining mruby pieces. This process is an application -of the [Strangler Fig pattern]. +Rust][artichoke-strangler], and expose `unsafe extern "C-unwind" fn` +replacements for interoperability with the remaining mruby pieces. This process +is an application of the [Strangler Fig pattern]. [artichoke-backend-docs]: https://artichoke.github.io/artichoke/artichoke_backend/ diff --git a/artichoke-backend/README.md b/artichoke-backend/README.md index 74511463e84d..9c97edc78947 100644 --- a/artichoke-backend/README.md +++ b/artichoke-backend/README.md @@ -9,7 +9,7 @@ `artichoke-backend` crate provides a Ruby interpreter. It currently is implemented with [mruby] ABI-compatible bindings, some of which are implemented in the vendored mruby C and exported by the [`sys`](src/sys) module, others of -which are implemented in Rust as `#[no_mangle] unsafe extern "C" fn`. +which are implemented in Rust as `#[no_mangle] unsafe extern "C-unwind" fn`. `artichoke-backend` is slowly [strangling] its embedded mruby interpreter by reimplementing (oxidizing) the APIs in Rust with Artichoke-sourced components.