Something went wrong. Try again.
A (very dirty) configuration example of Project Panama.
Something went wrong. Try again.
Files
Verified signature Signed by bpavuk.neocities.org SHA256:touU+q2GJ73PqWiLfYmysNddAYFLgyW6s7Jzarerajw Click to copy SHA
Verified signature Signed by bpavuk.neocities.org SHA256:touU+q2GJ73PqWiLfYmysNddAYFLgyW6s7Jzarerajw Click to copy SHA
Verified signature Signed by bpavuk.neocities.org SHA256:touU+q2GJ73PqWiLfYmysNddAYFLgyW6s7Jzarerajw Click to copy SHA
- Kotlin 74%
- Nix 13%
- Rust 13%
README.md
panama-exploration #
This is an example configuration of Project Panama:
rust-srccdylib crate connected as a library- Dynamically generated bindings in
interop-panama appKotlin consumer module- A Nix flake that includes everything you need to reproduce the results everywhere Nix is available
I strongly advise you to use what Nix flake provides through nix develop or direnv allow.
It’ll set up Cargo, glibc, and Azul Zulu Community JDK. That's all you need.
To run, simply execute ./gradlew run. If you want to learn more about how it works, dive into src-rust crate
and interop-panama Gradle module, especially buildscript files.