Skip to content

Commit

Permalink
Update docs to reference C-unwind ABI
Browse files Browse the repository at this point in the history
  • Loading branch information
lopopolo committed Oct 24, 2022
1 parent 28ed853 commit 84506ca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions ARCHITECTURE.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down
2 changes: 1 addition & 1 deletion artichoke-backend/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 84506ca

Please sign in to comment.