alexcrichton / alexcrichton/curl-rust
Compiling with musl?
- Lingua principale
- Rust
- Stelle
- 1.1k
- Fork
- 259
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Hi there, with a up-to-date `stable` and `x86-86-unknown-linux-musl` target, I seem unable to compile this library (as a dependency of `curl` and `isahc`). With:
```
cargo build --release --target x86_64-unknown-linux-musl
```
I get many messages of the form:
```
cargo:warning=In file included from /usr/include/bits/endian.h:35,
cargo:warning= from /usr/include/endian.h:24,
cargo:warning= from /usr/include/sys/types.h:176,
cargo:warning= from curl/include/curl/system.h:430,
cargo:warning= from curl/include/curl/curl.h:38,
cargo:warning= from curl/lib/curl_setup.h:157,
cargo:warning= from curl/lib/asyn-thread.c:23:
cargo:warning=/usr/include/bits/endianness.h:9: warning: "__BYTE_ORDER" redefined
cargo:warning= 9 | #define __BYTE_ORDER __LITTLE_ENDIAN
cargo:warning= |
```
Followed by a complaint about `musl-gcc` exiting with an error code. I have the latest `curl` system packages installed on my machine, so I'm not sure what the issue is. Any thoughts? Thank you.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.