-
Notifications
You must be signed in to change notification settings - Fork 520
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
Fix some template declarations not setting namespace #1913
Fix some template declarations not setting namespace #1913
Conversation
53b1d76
to
1894b6b
Compare
How do we update bindings for other platforms? Can I just generate them on my windows device? |
Should we maybe automate generating all parser bindings as well? |
Yes, and yes, get the headers package here: https://github.com/mono/CppSharp/releases/download/CppSharp/headers.zip I think it needs to be extracted to We once had it setup so they would get automatically generated as part of the build, or maybe as a post-commit hook. But it caused issues and we eventually took it out. These days I think it would work quite well as a pre-commit hook that automatically updates a PR branch with the latest bindings. |
Hm, the linux version gives me errors
|
I assume you meant macOS, right? |
Hah, yes XD. Though linux also gives me an error:
|
Both errors occur when building ARM64. The others work fine
|
Yes, we updated the headers package recently for ARM64, I think that version I linked is the old one, but am not finding the updated one, I'll see if I can find it. |
I noticed arm64 is not part of the CI. Should we add those? |
About the headers, I might have been thinking about: #1825 (comment) I have built a new package with the headers from that link, but updated the macOS headers with recent macOS ARM64 ones too, can you see if this helps? Though you updated the PR now and its green now, did you fix it manually?
I am not sure what's the status on it, see #1825 maybe. For macOS it's not possible either until we generally get #1879. We can get the generator to work in macOS ARM64 by not relying on |
Yeah, so with the old header package I was able to generate the non-arm64 bindings for osx and linux. They are green cus the arm64 bindings don't get tested by CI. I'm off for the weekend though, and I currently have no interest in the arm64 version so if I can leave that for someone else that'd be great, but I understand wanting to keep them in sync so lmk. |
Neither do I at the moment, so I think we're good 👍 If you generate the bindings again, do use this new package so we can at least keep it in sync as you said. |
Also added a minor optimization since adding the
GetNamespace()
calls slowed it down a lot