Skip to content

Get rust2go integration working with mozilla gradle plugin#2

Closed
hellais wants to merge 7 commits intomainfrom
rust
Closed

Get rust2go integration working with mozilla gradle plugin#2
hellais wants to merge 7 commits intomainfrom
rust

Conversation

@hellais
Copy link
Copy Markdown
Member

@hellais hellais commented Jun 26, 2024

This adds support for adding a layer which calls go code from rust and makes use of the mozilla gradle plugin to build the rust code.

@hellais
Copy link
Copy Markdown
Member Author

hellais commented Jul 8, 2024

It's now building, but it's not copying the .so to the correct directory, which will likely require digging a bit into these settings of the mozilla gradle plugin: https://github.com/mozilla/rust-android-gradle?tab=readme-ov-file#targetdirectory and aligning it to the custom build.rs for rust2go: https://github.com/ooni/probe-multiplatform/blob/rust/probeengine/build.rs#L51

@hellais hellais changed the title WIP porting over to rust Get rust2go integration working with mozilla gradle plugin Jul 8, 2024
@sdsantos
Copy link
Copy Markdown
Contributor

The branch will stay as a proof of concept, but we can close the PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants