rust 构建错误:无法为 `ring v0.16.20` 运行自定义构建命令

问题描述 投票:0回答:1

设备:Mac
Cargo.toml:

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

构建:

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

错误:

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

android rust ring hyper
1个回答
0
投票

顾名思义,ring 似乎返回了 101 返回消息,这意味着您的设置中缺少或有问题。我没有 Mac,所以我不知道 rust 需要什么依赖项,但至少确保你正确安装了 rustup。如果你确定rustup安装正确,那么你应该使用这个方法来解决它

© www.soinside.com 2019 - 2024. All rights reserved.