Skip to content

Note impact of -Cstrip on backtraces - #123336

Merged
bors merged 4 commits into
rust-lang:masterfrom
workingjubilee:strip-the-trace-off-my-back
Apr 2, 2024
Merged

bors merged 4 commits into
rust-lang:masterfrom
workingjubilee:strip-the-trace-off-my-back

Conversation

@workingjubilee

Copy link
Copy Markdown
Member

It is not always clear to people what the impact of -Cstrip options are. They are a common question on sites like StackOverflow, and sometimes people even report bugs with "no backtrace" after deliberately mangling the symbol table. We cannot exhaustively document every permutation, but we should warn people about common effects.

It is not always clear to people what the impact of `-Cstrip` options are.
They are a common question on sites like StackOverflow, and sometimes
people even report bugs with "no backtrace" after deliberately mangling
the symbol table. We cannot exhaustively document every permutation, but
we should warn people about common effects.
@rustbot

rustbot commented Apr 1, 2024

Copy link
Copy Markdown
Collaborator

r? @JohnTitor

rustbot has assigned @JohnTitor.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Apr 1, 2024
Comment thread src/doc/rustc/src/codegen-options/index.md Outdated
@Noratrieb

Copy link
Copy Markdown
Member

very cool, thanks
@bors r+ rollup

@bors

bors commented Apr 2, 2024

Copy link
Copy Markdown
Collaborator

📌 Commit 1dcaf70 has been approved by Nilstrieb

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Apr 2, 2024
@bors

bors commented Apr 2, 2024

Copy link
Copy Markdown
Collaborator

⌛ Testing commit 1dcaf70 with merge 2531d08...

@bors

bors commented Apr 2, 2024

Copy link
Copy Markdown
Collaborator

☀️ Test successful - checks-actions
Approved by: Nilstrieb
Pushing 2531d08 to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Apr 2, 2024
@bors
bors merged commit 2531d08 into rust-lang:master Apr 2, 2024
@rustbot rustbot added this to the 1.79.0 milestone Apr 2, 2024
@bors bors mentioned this pull request Apr 2, 2024
@rust-timer

Copy link
Copy Markdown
Collaborator

Finished benchmarking commit (2531d08): comparison URL.

Overall result: ❌ regressions - no action needed

@rustbot label: -perf-regression

Instruction count

This is a highly reliable metric that was used to determine the overall result at the top of this comment.

mean range count
Regressions ❌
(primary)
- - 0
Regressions ❌
(secondary)
1.1% [1.1%, 1.1%] 1
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) - - 0

Max RSS (memory usage)

This benchmark run did not return any relevant results for this metric.

Cycles

Results

This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.

mean range count
Regressions ❌
(primary)
- - 0
Regressions ❌
(secondary)
1.4% [1.4%, 1.4%] 1
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) - - 0

Binary size

This benchmark run did not return any relevant results for this metric.

Bootstrap: 667.053s -> 666.146s (-0.14%)
Artifact size: 315.75 MiB -> 315.65 MiB (-0.03%)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merged-by-bors This PR was explicitly merged by bors. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants