Skip to content

Rust support is apparently broken #1450

@dwlsalmeida

Description

@dwlsalmeida

Rust support is apparently broken, as per rust-lang/rust#96238

It seems like the Rust compiler has stopped inserting the mcount instrumentation at all, which can be verified by something like:

rustc +nightly -Z instrument-mcount hello_world.rs
nm hello_world | grep mcount

Where nothing will show up.

Maybe a warning should be added to the README.md file? I lost a couple hours thinking I failed to properly pass the -Z instrument-mcount flag to the Rust compiler.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions