Feature request: Be able to specify where cargo output files are placed in the android project

Open
#152 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
38/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
android, kotlin, rust

Research direction

Start by locating the Gradle entry point that writes compiled Rust files to buildDir/rustJniLibs/${toolchain.folder}, then trace how the Cargo output directory is handled. Define the optional destination path behavior and verify that the files are placed there without requiring a separate Gradle task.

Written by the indexing model from the issue text.

Description

Unless I have missed something the place where the compiled rust files are stored is always buildDir/rustJniLibs/${toolchain.folder}.

It would be nice to be able to set an optional path where the files are moved to from the cargo output directory instead of writing a seperate gradle task to do this.

Dominant language
Kotlin
Stars
1.3k
Forks
95
Avg merge
15m
Merged PRs (30d)
2

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from mozilla/rust-android-gradle

All issues in mozilla/rust-android-gradle

Similar issues

More Kotlin issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.