使用rustc编译时,rustc崩溃退出了,报错(exit code: 0xc0000005, STATUS_ACCESS_VIOLATION),而且只有在编译release模式时才能成功编译,编译debug模式都是失败的。
查了下,https://github.com/rust-lang/rust/issues/97404 里面有提到可能是内存不足,试了下在编译debug模式时,加上 -j 1 参数,发现可以编译成功。
使用rustc编译时,rustc崩溃退出了,报错(exit code: 0xc0000005, STATUS_ACCESS_VIOLATION),而且只有在编译release模式时才能成功编译,编译debug模式都是失败的。
查了下,https://github.com/rust-lang/rust/issues/97404 里面有提到可能是内存不足,试了下在编译debug模式时,加上 -j 1 参数,发现可以编译成功。