Skip to content

rust: Warn if non-staticlib/cdylib Rust libraries are linked into targets of other languages #11722

Open
@sdroege

Description

Only staticlib/cdylib crate types have a useful ABI that can be consumed by other languages and linking other crate types into a target of some other language is almost certainly a mistake.

CC @xclaesse (kind of related to your clib PR)

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions