Skip to content

There is simple project to research bindings generating for rust and go code.

Notifications You must be signed in to change notification settings

breadrock1/go-rs-bindings

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Research bindings generating for Rust and Go

There is simple project with researching of bindings generating for Rust and Go code bases. I'll update this project with more complex cases of export functions: structures

  • sharing structures by pointers and e.t.c;
  • invoking external callbacks and functions;
  • supporting invoking of async callbacks and functions.

How build and test bindings for C and Golang

build cbin:

gcc -Wall -g -O0 cbin/main.c -I. -Ltarget/debug/ -lrslib

build gobin

go build -buildmode=c-shared gobin/main.go

About

There is simple project to research bindings generating for rust and go code.

Topics

Resources

Stars

Watchers

Forks