Skip to content

Disable new SWIG string helper functions #1145

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

Merged
merged 1 commit into from
Nov 14, 2024
Merged

Disable new SWIG string helper functions #1145

merged 1 commit into from
Nov 14, 2024

Conversation

a-maurice
Copy link
Collaborator

@a-maurice a-maurice commented Nov 13, 2024

Description

Provide details of the change, and generalize the change in the PR title above.

SWIG 4.3 added a class SWIGStringWithLengthHelper, https://github.com/swig/swig/blob/d9edb22d1c896186b41505376c77a2d296447396/Lib/csharp/csharphead.swg#L329, which is causing some users to have build errors, because it isn't defining the native symbols correctly. Disable it via the provided compile flag, which should prevent it from adding the C# symbols, and the dependency on the missing C++ symbols.

Bug: #1139


Testing

Describe how you've tested these changes.

Verifying that the generated output is missing the C# symbols

https://github.com/firebase/firebase-unity-sdk/actions/runs/11826822953


Type of Change

Place an x the applicable box:

  • Bug fix. Add the issue # below if applicable.
  • New feature. A non-breaking change which adds functionality.
  • Other, such as a build process or documentation change.

@a-maurice a-maurice merged commit 51fca74 into main Nov 14, 2024
23 of 27 checks passed
@a-maurice a-maurice deleted the am-swig_strings branch November 14, 2024 00:42
@firebase firebase locked and limited conversation to collaborators Dec 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants