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

[avr-hal-generic] remove rustc version check #619

Merged
merged 1 commit into from
Jan 4, 2025

Conversation

tones111
Copy link
Contributor

AVR compilation requires a nightly compiler so it's unlikely users are still on a pre-1.59 version (Feb 2022).

@stappersg
Copy link
Contributor

image

Make it two separate merge requests and give both commits good commit messages.

The build.rs logic is only used to detect a relatively old compiler
version (Feb 2022). Since a nightly build is required to target AVR it's
unlikely anyone is benefiting from this check.  By removing it we reduce
dependencies and implementation complexity.
@tones111
Copy link
Contributor Author

tones111 commented Jan 2, 2025

As requested, I've updated the commit message to more clearly describe the motivation and split the dependent change into #624 (but I think that makes the review more complicated due to GitHub's lack of support for dependent reviews).

Copy link
Owner

@Rahix Rahix left a comment

Choose a reason for hiding this comment

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

Fair enough, I think we no longer need to keep this back-compat code here. Users of current versions of avr-hal will be on more recent compilers I would assume. If not, we can add it back in when someone complains.

@Rahix Rahix merged commit b417d5c into Rahix:main Jan 4, 2025
@tones111 tones111 deleted the no_rustversion branch January 4, 2025 22:52
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