Skip to content

Loadable lints #14067

Closed
Closed
@kmcallister

Description

Now that we have loadable syntax extensions, what about loadable lints? My main interest is application-specific safety checking, either to make unsafe code safer, or to provide guarantees above and beyond Rust's memory safety.

Some example use cases:

  • enforcing correct usage of Servo's JS-managed pointers
  • detecting common misuses of a library, e.g. expensive or non-idiomatic constructs
  • in cryptographic code, annotating which variables contain secrets and then forbidding their use in variable-time operations or memory addressing

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions