Rust 1.97.0+ no longer suppresses linker output, causing noisy build logs
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 72/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Quiet
- Domain
- build-system
Research direction
Start in plugin/src/main/resources/com/nishtahir/linker-wrapper.py at line 35 and reproduce a build with Rust 1.97.0 or newer to observe the linker output. Trace how successful and failed linker runs are handled; done means successful links no longer add the full linker output to build logs while failed links still report it.
Written by the indexing model from the issue text.
Description
Since Rust 1.97.0, rustc no longer hides linker output by default when a link succeeds. This breaks the assumption in linker-wrapper.py line 35, which appears to rely on that suppression.
Result: every build now prints the full linker invocation/output, adding significant noise to build logs.
Would it make sense to only print the linker output when the link actually fails, rather than on every build?
- Dominant language
- Kotlin
- Stars
- 1.3k
- Forks
- 95
- Avg merge
- 15m
- Merged PRs (30d)
- 2
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from mozilla/rust-android-gradle
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
mozilla/rust-android-gradle#166 · 1 comment · 3 reactions ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
mozilla/rust-android-gradle#163 · 2 comments · 2 reactions ·
-
Difficulty 5/5 Over a week Newbie friendliness 15/100
mozilla/rust-android-gradle#158 · 7 reactions ·
-
Difficulty 3/5 1-2 days Newbie friendliness 38/100
mozilla/rust-android-gradle#152 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 15/100
mozilla/rust-android-gradle#150 ·
All issues in mozilla/rust-android-gradle
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Good First Issue
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
ankidroid/Anki-Android#21942 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
libre-tube/LibreTube#8781 · 1 comment ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
MetrolistGroup/Metrolist#4396 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100