os-checker / MIRAI

docker image: zjpzjp/mirai:latest
MIT License
0 stars 0 forks source link

测试:MIRAI 无法与 rustversion 库一起使用 #5

Open zjp-CN opened 2 months ago

zjp-CN commented 2 months ago

测试仓库:kern-crates/rboot

CI:https://github.com/os-checker/dockerfiles/actions/runs/10824065797/job/30030657998

error: failed to run custom build command for `rustversion v1.0.17`

Caused by:
  process didn't exit successfully: `/home/runner/work/dockerfiles/dockerfiles/target/debug/build/rustversion-cb7b2b82d44a199d/build-script-build` (exit status: 1)
  --- stdout
  cargo:rerun-if-changed=build/build.rs

  --- stderr
  Error: unexpected output from `rustc --version`: "mirai 1.1.9\n"

  Please file an issue in https://github.com/dtolnay/rustversion
warning: build failed, waiting for other jobs to finish...

mirai 覆盖了 rustc --version 的输出结果,导致 rustversion 无法解析编译器版本号。