@@ -156,7 +156,7 @@ program, no matter your host OS. This is particularly useful if you are using
156
156
Windows, as the Linux target is much better supported than Windows targets.
157
157
158
158
You can also use this to test platforms with different properties than your host
159
- platform. For example ` cargo miri test --target mips64 -unknown-linux-gnuabi64 `
159
+ platform. For example ` cargo miri test --target s390x -unknown-linux-gnu `
160
160
will run your test suite on a big-endian target, which is useful for testing
161
161
endian-sensitive code.
162
162
@@ -220,20 +220,18 @@ using `--target`!
220
220
The following targets are tested on CI and thus should always work (to the
221
221
degree documented below) :
222
222
223
- - The best-supported target is `x86_64-unknown-linux-gnu`. Miri releases are
224
- blocked on things working with this target. Most other Linux targets should
225
- also work well; we do run the test suite on `i686-unknown-linux-gnu` as a
226
- 32bit target and `mips64-unknown-linux-gnuabi64` as a big-endian target, as
227
- well as the ARM targets `aarch64-unknown-linux-gnu` and
228
- ` arm-unknown-linux-gnueabi` .
229
- - ` x86_64-apple-darwin` should work basically as well as Linux. We also test
230
- ` aarch64-apple-darwin` . However, we might ship Miri with a nightly even when
231
- some features on these targets regress.
232
- - ` x86_64-pc-windows-msvc` works, but supports fewer features than the Linux and
233
- Apple targets. For example, file system access and concurrency are not
234
- supported on Windows. We also test `i686-pc-windows-msvc`, with the same
235
- reduced feature set. We might ship Miri with a nightly even when some features
236
- on these targets regress.
223
+ - All Rust [Tier 1 targets](https://doc.rust-lang.org/rustc/platform-support.html) are supported by
224
+ Miri. They are all checked on Miri's CI, and some (at least one per OS) are even checked on every
225
+ Rust PR, so the shipped Miri should always work on these targets.
226
+ - We also support `s390x-unknown-linux-gnu` as our "big-endian target of choice".
227
+ - For every other target with OS `linux`, `macos`, or `windows`, Miri should generally work, but we
228
+ make no promises.
229
+ - For targets on other operating systems, even basic operations such as printing to the standard
230
+ output might not work, and Miri might fail before even reaching the `main` function.
231
+
232
+ However, even for targets that we do support, the degree of support for accessing platform APIs
233
+ (such as the file system) differs between targets : generally, Linux targets have the best support,
234
+ and macOS targets are usually on par. Windows is supported less well.
237
235
238
236
# ## Running tests in parallel
239
237
0 commit comments