log_printf wrapping in build flags#497
Conversation
|
@coderabbitai Analyze if the PR fix #495 |
|
Tip For best results, initiate chat on the files or code changes.
Issue
|
| Criterion | Result |
|---|---|
| Directly removes the offending flag in hybrid compile path | ✅ |
Covers all targets (shared arduino.py) |
✅ |
| Matches maintainer's stated intent (always remove in hybrid mode) | ✅ |
Functionally equivalent to the documented workaround (build_unflags = -Wl,--wrap=log_printf) but automatic |
✅ |
Trade-off: esp_diagnostics log interception disabled in hybrid compile |
✅ Acceptable — it never worked there anyway |
The fix is clean, minimal, and targets the exact code path where the problem manifests. It correctly implements the "hardcore fix" you described in the issue comments.
Description:
Related issue (if applicable): fixes #495
Checklist: