Skip to content

C ABI Hello World #24

@sjtolley9

Description

@sjtolley9

Shared Library Hello World

I've been messing around with interop between Rust and C/C++ using the C ABI recently. And I thought that we could include a C/C++ Hello World implementation that is linked against a local shared library which provides the Hello World implementation. Allowing people to compile their own C-style dynamic library which the program can link to at runtime. Then we can have people set up sub-projects to compile their own library implementation, then add listings in a Makefile to allow people to choose which library they compile. (e.g. make rust_library or make c_library)

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