d-unsed / ruru

Native Ruby extensions written in Rust
MIT License
832 stars 40 forks source link

Protect send: a panic safe feature for Ruby interaction #88

Open danielpclark opened 6 years ago

danielpclark commented 6 years ago

This is forked off of the eval PR. After ruby-sys is updated I'll fix the Cargo.toml file.

Provides

Methods can be called with these just like with send except instead of crashing when Ruby raises/throws an exception we can now handle the exception on the Err path.

TODO

Antti commented 6 years ago

@danielpclark Exciting! Do you need a help with this? Are we still waiting for ruby-sys ?

danielpclark commented 6 years ago

Thanks, I don't need help, and yes we're waiting for ruby-sys.

In the mean time I've got all my PRs here available to use from the playground branch of my fork https://github.com/danielpclark/ruru/tree/playground . Since some of my gem releases for FasterPath depend on it I won't be deleting that branch ever.