rust build error:failed to run custom build command for `ring v0.16.20`

643 views Asked by At

Device: Mac
Cargo.toml:

hyper={version="0.14.16",features=["full"]}
hyper-rustls = "0.24.1"

Build:

cargo build --target aarch64-linux-android --release

error:

failed to run custom build command for `ring v0.16.20`
Caused by:
  process didn't exit successfully:`/Users/laiyi/rust/android_demo/target/release/build/ring-2d5afaebac3dba3f/build-script-build` (exit status: 101)

image of the error

1

There are 1 answers

0
ori raisfeld On

as the name says, ring seems to have returned a 101 return message, meaning something is either missing or wrong in your setup. I don't have a mac so i don't know what dependencies does rust need, but at least make sure you have rustup properly installed. if you're sure that rustup is installed right, then you should use this method to solve it