Skip to content

-Zbindeps panics with activated_features for invalid package: features did not find PackageId  #10431

@Jasper-Bekkers

Description

@Jasper-Bekkers

Problem

thread 'main' panicked at 'activated_features for invalid package: features did not find PackageId { name: "jni", version: "0.19.0", source: "registry `crates-io`" } NormalOrDevOrArtifactTarget(Some(CompileTarget { name: "aarch64-linux-android" }))', src\tools\cargo\src/cargo\core\resolver\features.rs:318:14

Attached is a small copy of the project, it's a copy of the android-ndk-rs hello world sample that I'm trying to adapt to use bindeps to see if I can have them create an apk.

android-test.zip

Steps

  1. Download attached zip file
  2. Build with cargo +nightly build -Zbindeps, or a clean cargo from main (5be1b1b5b)

Possible Solution(s)

No response

Notes

No response

Version

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: bugZ-bindepsNightly: binary artifact dependencies

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions