Closed
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