You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Checking trust-dns-proto v0.22.0 (/home/teohhanhui/Projects/hickory-dns/hickory-dns/crates/proto)
error: missing optimized MIR for an item in the crate `tracing_core`
|
note: missing optimized MIR for this item (was the crate `tracing_core` compiled with `--emit=metadata`?)
--> /home/teohhanhui/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-core-0.1.29/src/callsite.rs:362:5
|
362 | fn set_interest(&self, interest: Interest) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: could not compile `trust-dns-proto` (lib) due to previous error
Found the issue. cg_clif is calling assert_module_sources even when not doing codegen, which in turn triggers collect_and_partition_mono_items which will eventually fail with the error you are seeing. The LLVM backend only calls assert_module_sources when actually doing codegen.
Seems like it's hitting this: rust-lang/rust#115353
cargo check -p trust-dns-proto
andcargo +nightly check -p trust-dns-proto
are both successful.The text was updated successfully, but these errors were encountered: