about summary refs log tree commit diff
path: root/compiler/rustc_plugin_impl/src/errors.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-02-25 16:45:50 +0000
committerbors <bors@rust-lang.org>2023-02-25 16:45:50 +0000
commitffd12f67cfa28891bbd1fa81d5e80a128f346ace (patch)
treeba6477a07768056a164047bf011e5e0ade8f7c8d /compiler/rustc_plugin_impl/src/errors.rs
parent81490e15d4416722cbf127f7e5b8883fc8147446 (diff)
parent9cb27d260447c948ea4e5dd4a499722f07f7a36d (diff)
downloadrust-ffd12f67cfa28891bbd1fa81d5e80a128f346ace.tar.gz
rust-ffd12f67cfa28891bbd1fa81d5e80a128f346ace.zip
Auto merge of #2798 - LevitatingLion:master, r=oli-obk
Get Miri working on ARM

- Add a shim for `llvm.arm.hint`, which is required by `core::hint::spin_loop` on `arm` targets. The shim simply calls `yield_active_thread` on a YIELD hint, just like the shim for `llvm.aarch64.isb` that's already present.
- Change the signature of `miri_host_to_target_path` to use `c_char` instead of `i8`, to make it compatible with `CStr` on targets where `c_char` is unsigned. The implementation of `miri_host_to_target_path` accesses the memory as bytes and does not need to be adjusted.
- Enable ARM targets in CI. Specifically, `aarch64-unknown-linux-gnu` and `arm-unknown-linux-gnueabi` on the Linux host.

Since all tests also pass for `aarch64-unknown-linux-gnu` I took the liberty of adding that target to CI as well.

Fixes #2791
Diffstat (limited to 'compiler/rustc_plugin_impl/src/errors.rs')
0 files changed, 0 insertions, 0 deletions