Closed
Description
More details - open-telemetry/opentelemetry-rust-contrib#264 (comment)
--clip
ok Rust 1.87 release details seems to have the reason - https://releases.rs/docs/1.87.0/
Windows: The standard library no longer links advapi32, except on win7. Code such as C libraries that were relying on this assumption may need to explicitly link advapi32.
Looks like we need to explicitly link this library in build.rs? Ideally it should be taken care by crates which make direct ETW calls i.e, tracelogging/tracelogging_dynamic crates, but we can add it as temporary workaround for the fix:
fn main() {
println!("cargo:rustc-link-lib=advapi32");
}
Metadata
Metadata
Assignees
Labels
No labels