Skip to content

Commit

Permalink
Auto merge of #133369 - Zalathar:profiler-builtins-no-core, r=jieyouxu
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
bors committed Nov 27, 2024
2 parents cfc3177 + 3dbdd0a commit ee99dd1
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit ee99dd1

Please sign in to comment.