Skip to content

Creation of Rust bindings #97

Description

@indygreg

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!

Activity

  1. thomcc commented on Nov 11, 2024

    @thomcc

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions