-
Notifications
You must be signed in to change notification settings - Fork 746
Fail to generate stylo bindings on Windows #364
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
Comments
It seems to be a regression from #352. Removing the code added there resolved this problem. I guess it happens in some Windows header, so other people are not affected. |
So this happens when A minimal reproducible example of this assertion is template<typename T> auto Test(T a) { return a; } with |
Oh, actually, it just doesn't work with function template with template<typename T> auto Test() { return 1; } while removing the It seems to me template<typename T> int Test() { return 1; } doesn't generate anything in the output (and it probably shouldn't, either), I think we can skip function templates earlier to bypass this issue. |
This should fix rust-lang#364.
This should fix rust-lang#364.
RUST_BACKTRACE
gave me:The text was updated successfully, but these errors were encountered: