While compiling every crate in the std lib with panic-abort is working it seems we still miss some crucial bit here.

One option to test would be if we can get rid of panic_unwind if we don't need it anyway when compiling for 32bit Windows. For what it is worth, the compiler as we have it right now is working for tor compiled with Rust.

Child Tickets

Oldest firstNewest firstThreaded

Show commentsShow property changes

Change History (3)

Okay, let's go with plan d): Alex Crichton pointed me to ​https://github.com/rust-lang/rust/pull/49633 a while ago as a potential stopgap solution. It turns out that one works in the sense that 32bit tor for Windows with Rust enabled is still compiling and running AND that I am now hitting #26326.

I'll post a proper patch for this bug once I can verify that Tor Browser properly compiles and runs.

If that still hits some problems we could think about plan e) to ditch SjLj exception handling for 32bit Windows in favor of Dwarf2 or we could think about resorting to the official std lib for the time being.