Skip to content

Turn on f-strings for all builds in 7.3.0 #6415

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

Merged
merged 2 commits into from
May 21, 2022

Conversation

dhalbert
Copy link
Collaborator

@dhalbert dhalbert commented May 21, 2022

In 8.0.0, we are gaining space, at least initially, which is espeically noticeable on small builds. How do we spend it? I was originally going to put back onewireio, but I'm thinking that making f-strings uniformly available is quite advantageous, because it simplifies writing many examples and libraries.

We could do that in 8.0.0, but would it be possible in 7.3.0? I think the sooner, the better. This PR, starting as draft, tests which builds will fail. In 8.0.0, f-strings takes only 440 bytes more in a Trinket M0 build.

@dhalbert dhalbert force-pushed the 7.3.x-fstrings-for-all branch from fe78d5e to 338e14d Compare May 21, 2022 14:22
@dhalbert dhalbert marked this pull request as ready for review May 21, 2022 14:39
Copy link
Member

@tannewt tannewt left a comment

Choose a reason for hiding this comment

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

Great idea! Thank you!

@dhalbert dhalbert merged commit eb4ed30 into adafruit:7.3.x May 21, 2022
@dhalbert dhalbert deleted the 7.3.x-fstrings-for-all branch May 21, 2022 16:24
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