rust2go icon indicating copy to clipboard operation
rust2go copied to clipboard

Call Golang from Rust Asynchronously

Results 26 rust2go issues
Sort by recently updated
recently updated
newest added

After introducing rust2go to our project, the elasped time of `cargo check` has increased. Currently in vscode I have to wait about 20s after I pressing `Ctrl+S` :( `cargo check...

good first issue

Hello my friend,Thank you very much for creating this project. I am currently working on a project where Rust calls Go, and I'm planning to use your project for this...

Hello, your project is awesome. It allows avoiding tons of headache on creating bindings. I just found that it is impossible to have internal state using `rust2go::g2r` macro. Because it...

enhancement

## Steps to reproduce ```bash cd test cargo build ``` And then I got this issue: ![Image](https://github.com/user-attachments/assets/210acc0b-fb19-4bc1-8acb-dabd30b7e0cb)

Obligatory thanks for an amazing lib! To repro: `cd examples/example-bidirectional` Seems like the asmcall is broken, seemingly for functions that return a value. Pure one-way functions work (see `start()` below)...

```rust #[derive(rust2go::R2G, Debug)] #[repr(C)] enum Enum { A, B, } #[derive(rust2go::R2G, Debug)] struct StructTest { a: Enum, } ``` When I use enum type in idl, rust2go-cli will report an...

feat(macro): Preserve attribute macros on structs - Retain the original struct's attribute macros in the generated Rust code - Ensure attribute macros are correctly applied to the generated structs -...

Hi, if library is feature complete, as the readme says, consider releasing v1.0.

I'm just curious as to when ``GODEBUG=invalidptr=0,cgocheck=0`` is required. For example, would the below break (this is what I currently need as my usecase is converting legacy file format that...

In all cases, using --target x86_64-unknown-linux-musl results in the following error. ``` cargo run --target x86_64-unknown-linux-musl Compiling rust2go v0.4.1 (/home/wetee/Work/rust2go/rust2go) Compiling example-tokio-musl v0.1.0 (/home/wetee/Work/rust2go/examples/example-tokio-musl) error: linking with `cc` failed: exit...