Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

apk: Use rustc --crate-type=cdylib to always force a lib to be compiled #28

Closed
wants to merge 1 commit into from

Commits on Sep 11, 2023

  1. apk: Use rustc --crate-type=cdylib to always force a lib to be comp…

    …iled
    
    This automatically turns `crate-type = ["*lib"]` and `[lib]` targets
    into a `cdylib`, and otherwise errors appropriately when encountering a
    binary instead of succeeding the build and having `cargo-apk` later
    complain when `target/aarch64-linux-android/debug/lib<yourpacakge>.so`
    is not found.
    MarijnS95 committed Sep 11, 2023
    Configuration menu
    Copy the full SHA
    8f26cfb View commit details
    Browse the repository at this point in the history