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: fix target triple #1203

Merged
merged 1 commit into from
Jun 30, 2020
Merged

avr: fix target triple #1203

merged 1 commit into from
Jun 30, 2020

Conversation

aykevl
Copy link
Member

@aykevl aykevl commented Jun 30, 2020

It was avr-atmel-none, which is incorrect. It must be avr-unknown-unknown.

Additionally, there is no reason to specify the target triple per chip, it can be done for all AVR chips at once as it doesn't vary like Cortex-M chips.


Comment that triggered this PR: rust-lang/rust#44052 (comment)

It was `avr-atmel-none`, which is incorrect. It must be
`avr-unknown-unknown`.

Additionally, there is no reason to specify the target triple per chip,
it can be done for all AVR chips at once as it doesn't vary like
Cortex-M chips.
@deadprogram
Copy link
Member

Tested using Arduino Uno and DIgispark, worked as expected. Now merging, thanks for this great research @aykevl and kudos to the Rust community for all their related LLVM work.

@deadprogram deadprogram merged commit aa3481e into dev Jun 30, 2020
@deadprogram deadprogram deleted the avr-target branch June 30, 2020 18:48
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