Support (almost) arbitrary foreign architectures #1198
Labels
A-tests
Area: affects our test suite or CI
C-enhancement
Category: a PR with an enhancement or an issue tracking an accepted enhancement
Since Miri is just an interpreter, there's really no reason that a Linux host shouldn't be able to emulate e.g. a rust lib compiled for a Windows target.
And we are almost there! With #1057 fixed, rust-lang/rust#56443 is no longer a problem -- a check-only libstd build does not need a target toolchain, no object files are created. The only barrier left is rust-lang/backtrace-rs#253, and I just submitted a fix for that. For some targets we also need a small xargo tweak.
With those patches applied, I tried a bunch of things on my Linux host, and they all behave as expected -- pretty amazing. :)
Once the patches all land, we should start testing some of these combinations on CI.
The text was updated successfully, but these errors were encountered: