diff options
author | bors <bors@rust-lang.org> | 2022-04-08 08:13:21 +0000 |
---|---|---|
committer | bors <bors@rust-lang.org> | 2022-04-08 08:13:21 +0000 |
commit | 1a4b9a85634c17a60e8802307510c300a35a4b9b (patch) | |
tree | f28f638d81329169809584deacf70a644285855b /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs | |
parent | dc1f8298ef1abe9cbc648b4d7db620f21f2cec32 (diff) | |
parent | c599a4cfc3e33903d6523ba7355f862780714bda (diff) | |
download | rust-1a4b9a85634c17a60e8802307510c300a35a4b9b.tar.gz |
Auto merge of #95775 - RalfJung:miri-windows-compat, r=ChrisDenton
make windows compat_fn (crudely) work on Miri
With https://github.com/rust-lang/rust/pull/95469, Windows `compat_fn!` now has to be supported by Miri to even make stdout work. Unfortunately, it relies on some outside-of-Rust linker hacks (`#[link_section = ".CRT$XCU"]`) that are rather hard to make work in Miri. So I came up with this crude hack to make this stuff work in Miri regardless. It should come at no cost for regular executions, so I hope this is okay.
Cc https://github.com/rust-lang/rust/issues/95627 `@ChrisDenton`
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions