Results 25 comments of Mat Sadler

Quick feedback: sorry this is brief and potentially full of mistakes, but hopefully it’s helpful getting this feedback sooner. I think I’d like this to be more explicitly not part...

This is great, thanks! Sorry for taking such a long time to merge it.

(writing this on my phone, sorry if formatting is terrible) I screwed up with `impl TryConvert for &T` such that you can get any lifetime you want out of it,...

Hey! Thanks for the suggestion. For the implicit `init`, I looked into napi-rs, and I don't think the solution they are using will translate across directly to Ruby/Magnus. Implementing something...

@ms-jpq the `init` macro has a `name` attribute (that I have failed to document, I'll fix that), that'd get you half way there: ``` rust #[magnus::init(name = "example-aarch64-apple-darwin")] fn init()...

@ms-jpq I looked into it and as far as I can tell being able to use a function-like macro in an attribute macro (like `#[export_name = env!("RVM_INIT_NAME")]`) is something that's...

Thanks so much for this! I have basically no free time at the moment (who'd have thought having a 1 month old baby and my parents visiting from overseas would...

Cool, I’ll look forward to seeing it. Thanks for the notice. Sorry for taking a while to get back to you. I’d been thinking a little myself on how to...

These errors are from the code supporting ‘flonum’ (encoding lower precision floats into Ruby’s VALUE pointer, so Ruby can avoid allocating an object for a float). This is only possible...

> I [solved this for rb-sys](https://github.com/oxidize-rb/rb-sys/blob/c6126169cdb2e06d67cbb847acc6b0fd7af380dc/crates/rb-sys/build/bindings.rs#L129), and could expose it via cargo config, so `DEP_USE_FLONUM` is available Yeah, that’d be great