Add go-to-rust via cgo. Dynamic and static variants.
This commit is contained in:
8
go-to-rust-cgo-static/Makefile
Normal file
8
go-to-rust-cgo-static/Makefile
Normal file
@@ -0,0 +1,8 @@
|
||||
all: target/debug/libdouble_input.a
|
||||
go run src/double.go
|
||||
|
||||
target/debug/libdouble_input.a: src/lib.rs Cargo.toml
|
||||
cargo build
|
||||
|
||||
clean:
|
||||
rm -rf target
|
||||
Reference in New Issue
Block a user