Skip to content

Instantly share code, notes, and snippets.

@node
Created January 25, 2022 03:54
Show Gist options
  • Save node/95c124b0aa54564707ec54f0f6292f13 to your computer and use it in GitHub Desktop.
Save node/95c124b0aa54564707ec54f0f6292f13 to your computer and use it in GitHub Desktop.
手动执行 rustc 和 程序调用 rustc 的区别是什么?

手动编译

一切正常 rustc xx.rs ,编译后可执行文件也运行正常。

在某系统中通过程序调用 rustc

编译报错

error: could not write output to IskedggCUEBY.IskedggCUEBY.2a030c20-cgu.6.rcgu.o: Permission denied

权限和环境变量相关问题已排查,暂未发现异常。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment