Skip to content

validateHasCargo keep failing on macOS #24

@setoelkahfi

Description

@setoelkahfi

Probably related: #9

I keep getting Failed to run 'cargo --version'. You probably don't have 'cargo' executable in PATH error on MacOS while the printed patch definetely has .cargo/bin in it. Any clue?

My gradle file:


val libraries = arrayOf("crate_networking.so")
val cargoArguments = arrayOf("-p", "crate_networking")

cargoNdk {
    module = "../../lib/crate_networking"  // Directory containing Cargo.toml
    librariesNames = arrayListOf(*libraries)
    extraCargoBuildArguments = arrayListOf(*cargoArguments)
    verbose = true
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions