Skip to content

Fix for 32 bit build issue introduced in #15297 - #15380

Open
adamretter wants to merge 1 commit into
meta:11.8.fbfrom
evolvedbinary:eb/hotfix/32bit-build-issue
Open

adamretter wants to merge 1 commit into
meta:11.8.fbfrom
evolvedbinary:eb/hotfix/32bit-build-issue

Conversation

@adamretter

Copy link
Copy Markdown
Collaborator

@anand1976 This fixes the 11.8.fb compilation issue on 32 bit platforms, Please merge into 11.8, 11.9, 11.10, 11.11, and main branches.

See: #14977

@github-actions

Copy link
Copy Markdown

✅ clang-tidy: No findings on changed lines

Completed in 0.0s.

@adamretter
adamretter force-pushed the eb/hotfix/32bit-build-issue branch from d645dd9 to 51b607c Compare November 3, 2026 08:43
@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown

✅ Claude Code Review

Auto-triggered after CI passed — reviewing commit 51b607c


Summary

This PR is a comment-only change in utilities/fault_injection_fs.h. It replaces a 2-line comment explaining the mechanism of the padding[4] field with a 1-line comment stating the intent ("Keep Entry exactly 256 bytes on both 32 bit and 64 bit architectures"). No code, layout, or behavior is changed.

No high-severity findings.

Full review (click to expand)

Findings

🟢 LOW / NIT

L1. The new comment loses useful technical detail — fault_injection_fs.h:91
  • Issue: The original comment explained why the padding exists (differing uint64_t alignment between i386 and other targets) and what problem it solves. The replacement only states the goal without the mechanism. A future maintainer might remove the padding thinking it's unnecessary on their 64-bit machine.
  • Suggested fix: Consider a hybrid comment:
    // Explicit tail padding to keep Entry exactly 256 bytes on both 32-bit
    // (where alignof(uint64_t) == 4, so no implicit tail padding) and 64-bit.

Positive Observations


ℹ️ About this response

Generated by Claude Code.
Review methodology: claude_md/code_review.md

Limitations:

  • Claude may miss context from files not in the diff
  • Large PRs may be truncated
  • Always apply human judgment to AI suggestions

Commands:

  • /claude-review [context] — Request a code review
  • /claude-query <question> — Ask about the PR or codebase

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants