japaric-archived / ruststrap

[SUPERSEDED] by https://github.com/warricksothr/RustBuild
MIT License
96 stars 17 forks source link

Build cargo using `--enable-nightly` #21

Closed japaric closed 9 years ago

japaric commented 9 years ago

--enable-nightly builds a cargo thats statically linked with libcurl, libcrypto, libssl, etc.

This should fix getting unknow symbols in modern linux distributions:

# Arch
$ cargo -V
cargo: /usr/lib/libcurl.so.4: version `CURL_OPENSSL_3' not found (required by cargo)
cargo: /usr/lib/libcrypto.so.1.0.0: no version information available (required by cargo)
cargo: /usr/lib/libssl.so.1.0.0: no version information available (required by cargo)
japaric commented 9 years ago

Confirmed that the produced cargo nightly can build cargo in an Odroid XU running Arch.