Skip to content

Add support for panics on Windows #1059

Closed
@Aaron1011

Description

@Aaron1011

Several tests are currently disabled on Windows, due to Miri's lack of support for a number of Windows API functions:

  • GetProcAddress
  • GetModuleHandleW
  • AcquireSRWLockShared

Implementing GetProcAddress and GetModuleHandleW will require us to extend our current handling of dlsym to support Windows. This is currently blocked on #1225 rust-lang/rust#66470 rust-lang/rust#69326, since we need the ability to read wide strings.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-panicsArea: affects panics and unwindingA-shimsArea: This affects the external function shimsA-windowsArea: affects only Windows targetsC-enhancementCategory: a PR with an enhancement or an issue tracking an accepted enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions