hpy icon indicating copy to clipboard operation
hpy copied to clipboard

Automatically generate Rust bindings for hpy

Open thedrow opened this issue 3 years ago • 3 comments

Bindgen can already generate rust bindings automatically for us. Here's the output on Mac OSX.

In order to properly build the Rust library, we will need to link it to HPy somehow. If anyone can help me with the build.rs script, I can contribute the rest of the process.

thedrow avatar May 25 '22 13:05 thedrow

@messense added a rust build script in this commit on their fork. I don't know enough about rust to say if it is a step forward?

mattip avatar Nov 14 '23 08:11 mattip

@mattip Opened https://github.com/hpyproject/hpy/pull/457

messense avatar Nov 14 '23 14:11 messense

@messense added a rust build script in this commit on their fork. I don't know enough about rust to say if it is a step forward?

this could be an option. we can consider moving forward with it. Although I'm also new to rust but now seriously invested.

auvipy avatar Nov 20 '23 08:11 auvipy