Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Make `cargoCommand` and `rustcCommand` and `pythonCommand` (I guess?) be invoked from a consistent current directory

Open
#54 3 comments 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
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
kotlin, python, rust
Domain
build-system

Research direction

Start with the linked documentation for configuring Python, Cargo, and rustc, then inspect the CargoExtension named in the error to trace how these command properties are exposed and invoked. Confirm the intended current directory for each command and verify that the documented properties can be set without the read-only-property error.

Written by the indexing model from the issue text.

Description

Per documentation at https://github.com/mozilla/rust-android-gradle#specifying-paths-to-sub-commands-python-cargo-and-rustc

I cannot set cargoCommand and rustcCommand. I see this error:

> Cannot set the value of read-only property 'rustcCommand' for extension 'cargo' of type com.nishtahir.CargoExtension.
Dominant language
Kotlin
Stars
1.3k
Forks
95
PR merge metrics
No merged PRs in 30d

Getting set up

We have not checked this project's setup files yet. Start from its README, and see our first-contribution guide for the general steps.

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.