Commit 5f7f47e
committed
drop rust in favor of c++ for test programs
Unfortunately Rust has deprecated support for the Windows we target.
Previous changes have replaced the Rust test programs with C++ versions.
Using Rust to write minimal Windows programs was kind of an uphill battle
anyway, e.g. the windows crate requires std to use DirectDraw (for COM
reasons, is my recollection) while we didn't want std; rust-analyzer hated
the use of x86 assembly; etc.
Getting the Windows programs small was its own fight (e.g. calling "new"
pulls in a bunch of STL goop) but I think overall it has been relatively
easier.
We unfortunately lose the 'zip' test. Ironically I had originally written
this in C++, then migrated it to Rust to be able to reuse a crate. I
guess I could go back to pasting in a C++ zip implementation in the tree.
See discussion in rust-lang/rust#116344 , which
was the last issue where this point was finally forced.1 parent e996a89 commit 5f7f47e
File tree
30 files changed
+1
-1863
lines changed- exe
- rust
- .cargo
- ddraw-sys
- src
- src
- bin
- ops
- zip
- .cargo
- src
30 files changed
+1
-1863
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | 5 | | |
9 | 6 | | |
10 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | | - | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
| |||
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
0 commit comments