Closed jszwedko closed 9 months ago
Running with codegen-units = 1
seems to resolve it 🤔
I think this would need to be reported with a MRE (not involving macros) to rust-lang/rust. I don't know of anything in the inventory crate or ctor crate that would lead to an error like this.
When trying to upgrade to Rust 1.65.0 for https://github.com/vectordotdev/vector, which uses this crate, we ran into linking issues on
x86_64-pc-windows-msvc
(build.log; this log is for 1.66.0 but we ran into the same issue on Rust 1.65.0).Snippet of log:
I was able to bisect rustc changes down to this commit: https://github.com/rust-lang/rust/commit/4916e2b9e6ef8cee6f9c6abb75bd01ba9dc07e5c.
I can try to come up with a more minimal MRE if it is helpful. I figured something about that rustc commit might jump out though.