Closed aixi2494 closed 1 year ago
Just checking, are you indeed running 64-bit Windows?
So the assertion being tripped here:
assert_eq!(curl_sys::curl_global_init(curl_sys::CURL_GLOBAL_ALL), 0);
https://github.com/alexcrichton/curl-rust/blob/main/src/lib.rs#L103
Which seems to be suggesting that multiple curl contexts have been initialized in the same process? From some cursory searches it does seem that rustup might be instantiating one curl::easy::Easy
per thread (via a thread_local!()
) but I don't know enough about the curl crate to say if that might trigger this issue.
Now that the problem is solved, I guess my Visual Studio is incomplete, it will be ready after reinstallation
Visual Studio 不完整了, 需要卸载,重新安装
Problem
Steps
Possible Solution(s)
No response
Notes
Rustup version
Installed toolchains