-
Notifications
You must be signed in to change notification settings - Fork 472
Load weak dll imports on Windows #1707
Copy link
Copy link
Closed
Labels
A-shimsArea: This affects the external function shimsArea: This affects the external function shimsA-windowsArea: affects only Windows targetsArea: affects only Windows targetsC-enhancementCategory: a PR with an enhancement or an issue tracking an accepted enhancementCategory: a PR with an enhancement or an issue tracking an accepted enhancement
Metadata
Metadata
Assignees
Labels
A-shimsArea: This affects the external function shimsArea: This affects the external function shimsA-windowsArea: affects only Windows targetsArea: affects only Windows targetsC-enhancementCategory: a PR with an enhancement or an issue tracking an accepted enhancementCategory: a PR with an enhancement or an issue tracking an accepted enhancement
Type
Fields
Give feedbackNo fields configured for issues without a type.
On Windows, some syscalls (e.g.
WakeOnAddress) are loaded from an.CRT$XCUsection, 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.