rust9x / rust

Empowering everyone to build reliable and efficient software, even for Windows 9x/Me/NT/2000/XP/Vista.
https://github.com/rust9x/rust/wiki
Other
319 stars 9 forks source link

Is it possible to make the compiler itself runnable on XP? #8

Closed bluedragon-cairo closed 1 year ago

bluedragon-cairo commented 1 year ago

Is it possible to make the compiler itself runnable on XP? I mean, the host OS is XP and running rustc from there.

seritools commented 1 year ago

Technically yes, though you'd need to patch up all crates that directly use different Windows API (outside of the standard library) that are used by rustc, and that potentially use APIs not available.

bluedragon-cairo commented 1 year ago

is it ok if I share the binary of Rust9x publicly ?

(rustc.exe, rustdoc.exe, cargo.exe, and the driver files)

seritools commented 1 year ago

I'd appreciate if you mark it as third-party build, but otherwise sure, go ahead!

bluedragon-cairo commented 1 year ago

uploaded - https://github.com/pbcairo/rust9x-compiler