Skip to content

Factor "X not available when isolation disabled" into common function #986

@RalfJung

Description

@RalfJung

@christianpoveda added that same check half a dozen times or so. I think it would make sense to factor that into a small helper function that's called everywhere to avoid duplication.

The error message should also mention -Zmiri-disable-isolation so that people know how to make the error go away.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-shimsArea: This affects the external function shimsC-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