Emilio Cobos Álvarez

Results 777 comments of Emilio Cobos Álvarez

So it looks reasonable, but it's fairly unfortunate that we can't handle neither `[[noreturn]]` nor `__attribute__((noreturn))` which I think are more common ways to deal with this.

Yep, given template specialization is not available for rust (at least for stable), we can't do better than that. Leaving this open so when it gets stabilized we aim to...

Oh, btw, **thanks** for filling this bugs, they're really useful :)

Yes, it would but then in rust you have `MyTemplate` and `MyTemplate_int`, and only the second is valid, which is clunky. Also, partial template specialization would be funny to handle....

Seems pretty reasonable.

Yeah, that can't work. `Option` is not the same as `c_int`. There's no way to express this in rust in a simple way, afaict. We could build different wrappers for...

You mean to generate a `.h` file from a rust file, right?

Ohh, ok, the other way around, I see