Skip to content
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

Bump sprot sizes to fix build #1601

Merged
merged 1 commit into from
Jan 29, 2024
Merged

Bump sprot sizes to fix build #1601

merged 1 commit into from
Jan 29, 2024

Conversation

mkeeter
Copy link
Collaborator

@mkeeter mkeeter commented Jan 29, 2024

#1597 bumped syn and proc-macro2. For some reason, this slightly changes the size of the sprot task, so master is not building for me right now:

Error: task sprot: needs 47360 bytes of flash but max-sizes limits it to 47328

Last time I investigated, I came to the conclusion that bumping proc-macro2 caused LLVM functions to be emitted in a different order, which changed inlining behavior, which pushed one task over the size limit (and there were literally no changes in the generated LLVM IR).

Copy link
Collaborator

@labbott labbott left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For completeness, this appears to happen only on MacOS which is why it passed CI.

@mkeeter mkeeter merged commit 65e7bc6 into master Jan 29, 2024
77 checks passed
@mkeeter mkeeter deleted the bump-sprot-size branch January 29, 2024 16:00
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