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

Do not abort compile if loading errors happens for not compiled platforms #1606

Merged
merged 1 commit into from
Jan 3, 2022

Conversation

cmaglie
Copy link
Member

@cmaglie cmaglie commented Dec 28, 2021

Please check if the PR fulfills these requirements

  • The PR has no duplicates (please search among the Pull Requests
    before creating one)
  • The PR follows
    our contributing guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • UPGRADING.md has been updated with a migration guide (for breaking changes)
  • What kind of change does this PR introduce?
    The change is mainly on the legacy package and influence how the arduino-builder behaves.
  • What is the current behavior?
    If an installed platform has errors that prevent its loading, the builder will abort the compilation, even if the platform is not needed for the build and is not compiled at all.
  • What is the new behavior?
    The error is ignored (just printed on the output), and the compile continues.

@cmaglie cmaglie merged commit 60c1c98 into arduino:master Jan 3, 2022
@cmaglie cmaglie deleted the compiler_resilience branch January 3, 2022 16:02
@cmaglie cmaglie added criticality: low Of low impact priority: low Resolution is a low priority topic: CLI Related to the command line interface type: imperfection Perceived defect in any part of project labels Jan 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
criticality: low Of low impact priority: low Resolution is a low priority topic: CLI Related to the command line interface type: imperfection Perceived defect in any part of project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants