-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
A-ffiArea: ffi (C API)Area: ffi (C API)B-upstreamBlocked: needs a change in a dependency or the compiler.Blocked: needs a change in a dependency or the compiler.
Description
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:
- Open an RFC to allow
cargo rustc --crate-type cdylib
(Cargo--crate-type
CLI Argument rust-lang/rfcs#3180) - RFC is approved and merged
- Feature is added to cargo (One PR)
- --crate-type cdylib causes errors looking for rlib dependencies rust-lang/cargo#10356
- Remove
cdylib
from hyper'sCargo.toml
manifest - Tracking Issue for
--crate-type
flag rust-lang/cargo#10083
Metadata
Metadata
Assignees
Labels
A-ffiArea: ffi (C API)Area: ffi (C API)B-upstreamBlocked: needs a change in a dependency or the compiler.Blocked: needs a change in a dependency or the compiler.