Skip to content

Use of unstable pointer_cast feature #276

Closed
@jdm

Description

@jdm

RtlLookupFunctionEntry(addr, &mut base, ptr::null_mut()).cast() yields:

error[E0658]: use of unstable library feature 'ptr_cast'
   --> /home/travis/.cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.42/src/backtrace/dbghelp.rs:110:74
    |
110 |                 RtlLookupFunctionEntry(addr, &mut base, ptr::null_mut()).cast()
    |                                                                          ^^^^
    |
    = note: for more information, see https://github.com/rust-lang/rust/issues/60602
    = help: add #![feature(ptr_cast)] to the crate attributes to enable

Since this was added in a semver minor release, this breaks any CI for a Rust library crate that transitively depends on backtrace 0.3.

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

    Issue actions