Rust 跨平台交叉编译

2023-10-11 15:48:00

直接上Linux镜像,编译Windows, Linux Target。地址如下:

需要自己安装rust, 国内稳定的用 RsProxy

:制作镜像时,遇到报错:

rustup: Unable to run interactively. Run with -y to accept defaults, --help for additional options

:添加参数 -y

curl --proto '=https' --tlsv1.2 -sSf https://rsproxy.cn/rustup-init.sh | sh -s -- -v -y 

Ref: https://github.com/m-ab-s/media-autobuild_suite/issues/915