about summary refs log tree commit diff
path: root/src/librustdoc/html/highlight.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-11-27 10:19:38 +0000
committerbors <bors@rust-lang.org>2024-11-27 10:19:38 +0000
commit39cb3386ddc6c71657418be28dbb3987eea4aa4b (patch)
treed9dc869bd9dc664d264a9585d1e247fe07ae99ce /src/librustdoc/html/highlight.rs
parent5f8a2405a6a7ea0ff85072b3bf90f4cff1144e85 (diff)
parent6798ecaf1000c223378151023b8eb37f3464af29 (diff)
downloadrust-39cb3386ddc6c71657418be28dbb3987eea4aa4b.tar.gz
rust-39cb3386ddc6c71657418be28dbb3987eea4aa4b.zip
Auto merge of #133369 - Zalathar:profiler-builtins-no-core, r=jieyouxu
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.
Diffstat (limited to 'src/librustdoc/html/highlight.rs')
0 files changed, 0 insertions, 0 deletions