Load weak dll imports on Windows #1707
Labels
A-shims
Area: This affects the external function shims
A-windows
Area: affects only Windows targets
C-enhancement
Category: a PR with an enhancement or an issue tracking an accepted enhancement
On Windows, some syscalls (e.g.
WakeOnAddress
) are loaded from an.CRT$XCU
section, which doesn't get executed on Miri.See rust-lang/rust#81478 (comment)
This means the standard library falls back to not using those, which is okay for now, but is a problem when implementing
WakeOnAddress
, as that mechanism falls back to another dynamic dll import which will also not have been loaded in miri.The text was updated successfully, but these errors were encountered: