undefined reference
to linker error when using from nightly rustc
#2684
Labels
C-bug
Category: bug. Something is wrong. This is bad!
In our project we use
rustc nightly-2021-10-15
and we encountered a compiler bug that prevents us upgrading fromhyper 0.13, warp 0.2, reqwest 0.10, tokio 0.2
tohyper 0.14, warp 0.3, reqwest 0.11, tokio 1.2
(working, not working commit).It seems that the cause is the C ffi:
hyper/Cargo.toml
Line 23 in 8062714
Removing that line solves the issue: alexkornitzer@1199048
I know that this is not exactly a bug in
hyper
, but since the C API is unstable I wonder if there is a way to set thatcrate-type
only in the build that generates the C library. At least, until the compiler is fixed.The text was updated successfully, but these errors were encountered: