Skip to content

cargo: Respect Meson's default_library instead of Cargo.toml's crate_type #15183

@xclaesse

Description

@xclaesse

When Cargo.toml has e.g. crate_type = ["staticlib", "cdylib"] it would make sense to use library(..., rust_abi: 'c') instead of both_libraries() to give shared and/or static decision to Meson instead of respecting Cargo.toml.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions