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

Support pre 1.77 #840

Merged
merged 6 commits into from
May 17, 2024
Merged

Support pre 1.77 #840

merged 6 commits into from
May 17, 2024

Conversation

Urhengulas
Copy link
Member

This PR makes defmt compatible with versions of rustc smaller than 1.77. It achieves this by allowing to exclude defmt::Format implementations for types which got stabilized under the ip_in_core feature. Note that those types are included by default, but can be excluded by disabling the default cargo features.

Fixes #833

@Urhengulas Urhengulas merged commit d1ee580 into main May 17, 2024
15 checks passed
@Urhengulas Urhengulas deleted the support-pre-1.77 branch May 17, 2024 13:30
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.

defmt 0.3.7 breaks build for older versions of rust
1 participant