1
Fork 0
rust/compiler/rustc_metadata/src
bors 39cb3386dd 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.
2024-11-27 10:19:38 +00:00
..
rmeta Implement the unsafe-fields RFC. 2024-11-21 19:32:07 +01:00
creader.rs Auto merge of #133369 - Zalathar:profiler-builtins-no-core, r=jieyouxu 2024-11-27 10:19:38 +00:00
dependency_format.rs nightly feature tracking: get rid of the per-feature bool fields 2024-10-23 09:14:41 +01:00
errors.rs Allow injecting a profiler runtime into #![no_core] crates 2024-11-24 21:12:40 +11:00
foreign_modules.rs Do not fetch HIR in native_libs. 2023-07-17 07:37:03 +00:00
fs.rs Dogfood feature(file_buffered) 2024-09-24 14:25:16 -07:00
lib.rs Rollup merge of #130518 - scottmcm:stabilize-controlflow-extra, r=dtolnay 2024-10-04 14:11:34 -07:00
locator.rs aix: fix archive format 2024-11-21 10:33:07 -05:00
native_libs.rs use TypingEnv when no infcx is available 2024-11-18 10:38:56 +01:00