-
-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spurious build failures sometimes #20
Comments
Can you provide a backtrace (preferably by setting |
It is panicking on this line specifically, and there's only one way it gets called so I didn't think a backtrace would make much of a difference (plus getting one for a heisenbug like this...) rust-embed-resource/src/windows_msvc.rs Line 30 in fcd30ad
The actually useful information would be knowing which |
If you're feeling naughty, you could edit |
|
Don't you just love to see memory corruption? |
that's what I get for FFIng to gamedev code, I guess; ugh thanks for tracking this down so far, I've added notices to the vswhom crates' READMEs |
Offf. That vswhom C++ code is quite a piece of work and doesn't seem to have been written with code quality in mind or good C++ practices... If I had to guess, this line seems suspect:
|
Thanks for pointing that one out. I've updated |
I think modern MSVC supports ASAN BTW. Might be worth a shot as it might be able to catch such errors if any remain. |
When building a program that uses this crate, I will sometimes get this error:
It goes away if I try to build again.
The text was updated successfully, but these errors were encountered: