Skip to content

On mac the unmangled symbol is not being visible at the time of linking #21097

@ckkashyap

Description

@ckkashyap

Somethings has changed in Rust (Mac) in the last month that is affecting how the symbols get exposed in the generated static library. When I compile my kernel on Linux things work fine. However on mac - the libkernel.a that gets generated under the kernel directory does not seem to contain the "cmain" symbol - which is clearly there in kernel.rs

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-linkageArea: linking into static, shared libraries and binariesO-macosOperating system: macOS

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions