Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creation of Rust bindings #97

Open
indygreg opened this issue Feb 26, 2020 · 1 comment
Open

Creation of Rust bindings #97

indygreg opened this issue Feb 26, 2020 · 1 comment

Comments

@indygreg
Copy link

Thank you for this terrific library!

I had a need to use this library from my Rust project PyOxidizer (indygreg/PyOxidizer). I hope you don't mind, but I took the liberty of creating a memory-module-sys crate that exposes the raw C interface to Rust code. The crate is now published at https://crates.io/crates/memory-module-sys. The (very basic) code lives at indygreg/rs-memory-module-sys.

If you want me to transfer ownership of the crate to your name, mark you as an author/maintainer, or want to accept the Rust code into this repository so it can live next to the canonical library, want the docs updated, etc, I would be more than willing to do that.

I very much don't want you to be unhappy about the state of the Rust crate and if there's anything you want to make its existence easier on you, let me know.

Please let me know if there's anything I can do with regards to the Rust crate. Otherwise, feel free to close this issue as unactionable.

Again, thank you for this library!

@thomcc
Copy link

thomcc commented Nov 11, 2024

I'm surprised it worked well for Rust, given that nearly any non-trivial Rust program will use static TLS (via std::thread_local!), which isn't supported by MemoryModule (it is somewhat supported by MemoryModulePP, but even that lists the compatibility as incomplete).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants