mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-08 13:55:25 +00:00
39cb3386dd
Allow injecting a profiler runtime into `#![no_core]` crates An alternative to #133300, allowing `-Cinstrument-coverage` to be used with `-Zbuild-std`. The incompatibility between `profiler_builtins` and `#![no_core]` crates appears to have been caused by profiler_builtins depending on core, and therefore conflicting with core (or minicore). But that's a false dependency, because the profiler doesn't contain any actual Rust code. So we can just mark the profiler itself as `#![no_core]`, and remove the incompatibility error. --- For context, the error was originally added by #79958. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
messages.ftl |