dtolnay / rustversion

Conditional compilation according to rustc compiler version
Apache License 2.0
334 stars 15 forks source link

error when use mirai #52

Closed alexniver closed 1 month ago

alexniver commented 5 months ago

try to use mirai, error messsage tell me file an issue here.

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

Caused by:
  process didn't exit successfully: `/home/n/dev/rust/kk/target/debug/build/rustversion-4225e7e1487a3e13/build-script-build` (exit status: 1)
  --- stdout
  cargo:rerun-if-changed=build/build.rs

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

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

Just ran into the same issue myself.

YichiZhang0613 commented 1 month ago

Have you solved it?

alexniver commented 1 month ago

Have you solved it?

没有,没折腾这玩意儿了

YichiZhang0613 commented 1 month ago

Have you solved it?

没有,没折腾这玩意儿了

我改了下mirai的代码解决了这个问题

YichiZhang0613 commented 1 month ago

I fixed that error in #53.