flatbuffers icon indicating copy to clipboard operation
flatbuffers copied to clipboard

[Swift] usableFromInline attribute for _minAlignment

Open amitahire opened this issue 2 years ago • 3 comments

Swift Code generator does not generate setter and getter unless the variable is marked with attribute. Mainly while generating XCFramework and interfaces for different architectures.

  • The generated build/framework generally works if the build is built only for one architecture ( because the compiler maybe generated the code properly for the particular architecture

  • While generating XCFramework - compiler doesn't know or cannot resolve during runtime - Hence the interface needs to generate the appropriate getters and setter to provide the compiler the appropriate clues.

amitahire avatar Jun 23 '22 08:06 amitahire

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

google-cla[bot] avatar Jun 23 '22 08:06 google-cla[bot]

@mustiikhalil

CasperN avatar Jun 23 '22 18:06 CasperN

@amitahire can you sign the google doc? so we can move forward with this?

mustiikhalil avatar Jun 28 '22 11:06 mustiikhalil

@amitahire Any update?

dbaileychess avatar Aug 06 '22 05:08 dbaileychess

Closing due to lack of activity.

dbaileychess avatar Aug 15 '22 17:08 dbaileychess