Closed RalfJung closed 5 months ago
Okay so now it indeed does fail on Windows. But in a strange way:
Error: io error when running command `./miri run tests/many-seeds/scoped-thread-leak.rs`: %1 is not a valid Win32 application. (os error 193)
@ChrisDenton can Command
not spawn scripts on Windows? Would it work to run the batch script instead of the bash script?
On Windows you can only reliably run exe files.
https://github.com/rust-lang/rust/issues/94743 has some more details (though ultimately adding support for scripts was not popular)
Then either we can get bash to launch the script for us or we'll have to disable the test on Windows. I don't want to duplicate the logic from './miri' that computes where the binary is.
This might work... @bors r+
:pushpin: Commit 5759160a4941ced1770d3b614a5e1d5f1e709988 has been approved by RalfJung
It is now in the queue for this repository.
:hourglass: Testing commit 5759160a4941ced1770d3b614a5e1d5f1e709988 with merge 344ea00936b879460f06156fdf88301159a7ac55...
:sunny: Test successful - checks-actions Approved by: RalfJung Pushing 344ea00936b879460f06156fdf88301159a7ac55 to master...
Fixes https://github.com/rust-lang/miri/issues/3405.