install: warn --strip-program without -s#12956
Conversation
00d8d4e to
c283789
Compare
|
GNU testsuite comparison: |
c283789 to
06470e4
Compare
| let strip = matches.get_flag(OPT_STRIP); | ||
| let strip_program = match matches.get_one::<String>(OPT_STRIP_PROGRAM) { | ||
| Some(p) => { | ||
| if !strip && writeln!(std::io::stderr(), "install: WARNING: ignoring --strip-program option as -s option was not specified").is_err() { |
There was a problem hiding this comment.
please use the translate!() macro
sylvestre
left a comment
There was a problem hiding this comment.
please add a test to make sure we won't regress
06470e4 to
4a953d9
Compare
Merging this PR will improve performance by 3.21%
|
| Mode | Benchmark | BASE |
HEAD |
Efficiency | |
|---|---|---|---|---|---|
| ⚡ | Simulation | du_all_wide_tree[(5000, 500)] |
16.7 ms | 16.1 ms | +3.38% |
| ⚡ | Simulation | du_max_depth_balanced_tree[(6, 4, 10)] |
26.1 ms | 25.3 ms | +3.04% |
Tip
Curious why this is faster? Comment @codspeedbot explain why this is faster on this PR, or directly use the CodSpeed MCP with your agent.
Comparing oech3:ins-srtip-no-strip (4a953d9) with main (5de3062)
Footnotes
-
46 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩
4a953d9 to
0755217
Compare
Closes #12955