Skip to content

Make cdylib only build when C API required #2685

Closed
@seanmonstar

Description

@seanmonstar

There's some problems with compiling hyper as a cdylib (rust-lang/rust#82151), and even without problems, it's extra compilation work if you don't need to build a C library. The goal is to make it so users can opt-in to building a cdylib, instead of it being always on. To that end, we've pushed a bit in the tooling to allow this, and here's the steps that need to be done:

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-ffiArea: ffi (C API)B-upstreamBlocked: needs a change in a dependency or the compiler.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions