Skip to content

Regenerate 64-bit embedded schema header to fix Windows CI - #9435

Open
rustyconover wants to merge 1 commit into
google:masterfrom
rustyconover:fix-ci-bfbs64-alignment
Open

rustyconover wants to merge 1 commit into
google:masterfrom
rustyconover:fix-ci-bfbs64-alignment

Conversation

@rustyconover

Copy link
Copy Markdown

The Windows generated-code check fails immediately after the CMake build because flatc regenerates tests/64bit/test_64bit_bfbs_generated.h with alignas(uint64_t), added by #9425, while the checked-in header still lacks it. Regenerate that header using the flags in CMakeLists.txt. Only the array declaration changes; the schema bytes are unchanged.

This complements #9434, which updates tests/monster_test_bfbs_generated.h. Its Windows job shows this exact remaining diff. scripts/generate_code.py does not generate the 64-bit header, so it needs regeneration through the CMake command. Found while investigating #9414; the same failure occurs on master.

Validation on macOS arm64: regenerated with the CMake flags and confirmed a one-line diff; git diff --check passes. With both header updates applied locally, the generated-code and gRPC checks, C++ flattests, and tests/GoTest.sh all pass. Windows execution remains for CI. The independent Swift dependency failure is tracked by #9412.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant