Open akavel opened 8 years ago
What's the output of rustc -vV
?
C:\prog\rusti>rustc -vV
rustc 1.12.0-nightly (7333c4ac2 2016-07-31)
binary: rustc
commit-hash: 7333c4ac25648e831fb2033ee77fbbdc62ae492a
commit-date: 2016-07-31
host: x86_64-pc-windows-gnu
release: 1.12.0-nightly
Also, the same crash happens in nightly-2016-07-29, while the earlier ones seem not to compile. The -msvc nightly has the same message, but it shows in a popup window, so it's harder to paste.
You'll have to check out an older revision of rusti to compile with an older nightly. Look for commit messages containing "Fix for nightly".
When you find a nightly build that works, let me know and I'll add a note to the README about it. It's too late to fix any of this in the Rust compiler because it's no longer supported.
I went back as far as I could without merge conflicts while rebasing the linefeed-adding patches (excluding README.md and Cargo.lock). This way, I managed to reach rust nightly-2016-05-10 (rusti commit 4d0b3a68db3e925d3d6a9132ec3c40c71cf1083c) — but unfortunately I still encountered exactly the same crash message. (I don't know if it's important, but I had to delete Cargo.lock each time, otherwise I got weird cargo conflict on libc version 0.2.4.) I can't rebase any deeper because of merge conflicts.
Strange. I don't know how this error could be happening. Up until about 2016-08-01
, there were still ExecutionEngine
tests in the Rust compiler, which must have been passing on supported Windows platforms.
Doesn't the commit message in https://github.com/rust-lang/rust/pull/35174/commits/81df89fc2d6ba1b55ab20b0615b8523a6e90963f explicitly claim "the code has no tests"?
The test had been removed just a few days prior: https://github.com/rust-lang/rust/pull/34743/commits/5fa55781bd77f7a9fbdb3af8fa4e1b0cd0b1cf06
The test was skipped on -msvc
Windows builds, but it should still have been passing on -gnu
builds.
See also: https://github.com/murarth/rusti/issues/39#issuecomment-241894475 — my environment is still the same, with newest rusti (f9a5ded292a30dc93059f9baec89dcbcc8299719).