Skip to content

docs: confusing wording in extern documentation related to lib linkage #155074

@iamlockon

Description

@iamlockon

It says below:

/// If compiled as a dylib, the resulting .so could then be linked to from a C library, and the

But according to the reference[1][2] , dylib is Rust dynamic library which is meant for Rust consumers (not for C consumers). Shouldn't cdylib be the right term here?

[1] https://doc.rust-lang.org/reference/linkage.html#r-link.dylib
[2] https://doc.rust-lang.org/reference/linkage.html#r-link.cdylib

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions