Skip to content

feat: add per-module max_rc for final link#18

Open
mgrossmann wants to merge 1 commit into
mainfrom
feature/link-max-rc
Open

feat: add per-module max_rc for final link#18
mgrossmann wants to merge 1 commit into
mainfrom
feature/link-max-rc

Conversation

@mgrossmann

Copy link
Copy Markdown
Contributor

Summary

  • Add max_rc field to [[link.module]] (default: 0, strict)
  • mvslink.py uses mod.max_rc instead of hardcoded RC > 4
  • Modules that need to tolerate linker warnings (e.g. LET) set max_rc = 4 explicitly

Previously all link modules silently accepted RC=4. Now the default is strict (RC=0), making unexpected warnings visible. This is a breaking change for projects that rely on RC=4 being silently accepted — they need to add max_rc = 4 to the affected [[link.module]] entries.

Test plan

  • All 39 unit tests pass
  • make link on a project with default max_rc (RC>0 → failure)
  • make link on a project with max_rc = 4 (RC≤4 → success)

Previously mvslink hardcoded RC>4 as failure threshold. Now each
[[link.module]] can specify max_rc (default: 0, strict). Modules
that need to tolerate linker warnings set max_rc = 4 explicitly.
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.

1 participant