Skip to content

deny(unsafe_op_in_unsafe_fn) in backtrace-rs #643

@workingjubilee

Description

@workingjubilee
Member

Because backtrace-rs is included as a submodule and has platform-specific code, this lint is currently allowed inside std. I intend to remove this allow in std for this crate, and deny this lint inside backtrace.

There is platform-specific code in this crate. For most platforms, most of it is fairly limited, and limited to safe functions, so that there is no concern with this lint. There is, however, the divide between DWARF (or "Unix") and PDB (or "Windows"), on which pretty much everything else about this crate hinges. This should be... comparatively easy? to fix?

Activity

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

Metadata

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

        Participants

        @workingjubilee

        Issue actions

          `deny(unsafe_op_in_unsafe_fn)` in backtrace-rs · Issue #643 · rust-lang/backtrace-rs