Skip to content

fix(macos): avoid 255 section-per-segment limit#3

Merged
aimir merged 2 commits intolinux-and-mac-compatibilityfrom
fix/macos-255-section-limit
Dec 31, 2025
Merged

fix(macos): avoid 255 section-per-segment limit#3
aimir merged 2 commits intolinux-and-mac-compatibilityfrom
fix/macos-255-section-limit

Conversation

@aimir
Copy link
Copy Markdown
Collaborator

@aimir aimir commented Dec 31, 2025

On macOS, each defmt log statement created a unique section in the .defmt segment. With 200+ logs, this exceeded Mach-O's 255 section limit.

Fix: Group logs by severity level instead of unique hash per log.

On macOS, each defmt log statement created a unique section in the .defmt
segment. With 200+ logs, this exceeded Mach-O's 255 section limit.

Fix: Group logs by severity level instead of unique hash per log.
@aimir aimir self-assigned this Dec 31, 2025
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Dec 31, 2025

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch fix/macos-255-section-limit

Comment @coderabbitai help to get the list of available commands and usage tips.

Comment thread macros/src/construct.rs Outdated
@aimir aimir removed their assignment Dec 31, 2025
@aimir aimir merged commit 06da809 into linux-and-mac-compatibility Dec 31, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants