Skip to content

Question: whose responsibility is it to provide builtins used by C code? #217

Closed
@parched

Description

@parched

If you link some C code into your rust executable (e.g., libc) and that code uses some builtins that aren't needed by Rust (e.g., long double builtins), whose responsibility is it to provide them? This crate or something else?

In other words, should this crate provide C builtins or, if the target is linker_flavour is gcc or ld, should libgcc be added to the list of things linked?

CC @alexcrichton @japaric

Related #201

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