Skip to content

Don't link to libc by default #11941

Closed
Closed
@brson

Description

@brson

Right now, since we're linking with the C compiler (#11937) we're giving all Rust code access to libc. I think the compiler itself should not force linking to libc (and anything else cc links us to by default). Instead either std or the potential libc crate (#11828) should be responsible for the libc link.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-linkageArea: linking into static, shared libraries and binaries

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions