Skip to content

boustrophedon/rust-dart-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is an experiment in writing a dart native extension in rust. There's no C involved.

You should have both the dart vm and rust and cargo installed.

Steps to build and run:

pub get
cd lib/src/
cargo build --release
cp target/release/librust_extension.so ../
cd ../..
dart bin/callrust.dart

About

Minimal code to build a Dart native extension with Rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published