cross-rs / cross

“Zero setup” cross compilation and “cross testing” of Rust crates
Apache License 2.0
6.4k stars 359 forks source link

cross build --target armv7-unknown-linux-gnueabihf #1388

Closed yz-yz-yz closed 8 months ago

yz-yz-yz commented 8 months ago

我想编译到这个ARMv7 平台 但是 它 报错???error: failed to run custom build command for openssl-sys v0.9.96

Caused by: process didn't exit successfully: /target/debug/build/openssl-sys-15106401038d6091/build-script-main (exit status: 101) --- stdout

NobodyXu commented 8 months ago

You need to either enable openssl-sys/vendored, or install openssl within the container cross is using.

Emilgardis commented 8 months ago

See https://github.com/cross-rs/cross/wiki/Recipes#openssl for more information