Example of using python embedded in rust and compiled statically
This is just a quick example of how to statically compile rust with musl and embed the python interpreter.
- Linux
- Rust (tested on rustc 1.25.0-nightly (0c6091fbd 2018-02-04))
git clone https://github.com/kdar/rust-python-static-example
cd rust-python-static-example
make bootstrap
make run
Distributed under the MIT license. See LICENSE
for more information.
- Fork it (https://github.com/kdar/rust-python-static-example/fork)
- Create your feature branch (
git checkout -b feature/fooBar
) - Commit your changes (
git commit -am 'Add some fooBar'
) - Push to the branch (
git push origin feature/fooBar
) - Create a new Pull Request