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

Don't recommend supporting eh0.2 #640

Merged
merged 1 commit into from
Nov 19, 2024
Merged

Conversation

MabezDev
Copy link
Member

@MabezDev MabezDev commented Nov 19, 2024

This PR changes the recommendation to add 0.2 impls into HALs.

It keeps the instructions but modifies them slightly to put it behind a feature so that we don't recommend third party HALs violate C-STABLE. How important C-STABLE is for trait implementations is debatable but I still don't think we, as a rust working group, should be recommending use of a 0.2 version of a crate when a 1.0 exists.

Alternatives

We remove this section completely and leave it to HAL authors

@MabezDev MabezDev requested a review from a team as a code owner November 19, 2024 14:40
@Rahix
Copy link

Rahix commented Nov 19, 2024

I think it's also worth bringing https://github.com/ryankurte/embedded-hal-compat into this.

@MabezDev
Copy link
Member Author

I think it's also worth bringing ryankurte/embedded-hal-compat into this.

It's mentioned in the next section, unless you meant to include it in this section as well?

@Dirbaio Dirbaio added this pull request to the merge queue Nov 19, 2024
Merged via the queue into rust-embedded:master with commit 56a4c6a Nov 19, 2024
7 checks passed
@MabezDev MabezDev deleted the eh02-begone branch November 19, 2024 21:22
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.

3 participants