Skip to content

[beta 1.96] Revert "feat: add frame-pointers profile option (#16742)"#16998

Merged
weihanglo merged 2 commits into
rust-lang:rust-1.96.0from
ehuss:revert-frame-pointers-1.96
May 15, 2026
Merged

[beta 1.96] Revert "feat: add frame-pointers profile option (#16742)"#16998
weihanglo merged 2 commits into
rust-lang:rust-1.96.0from
ehuss:revert-frame-pointers-1.96

Conversation

@ehuss
Copy link
Copy Markdown
Contributor

@ehuss ehuss commented May 15, 2026

This reverts commit 3c95ccc, reversing changes made to da53118.

A concern was raised about the force-off option which may be confusing because it doesn't force them "off", it turns off the "force on" option. Force-off is the default and can change per target.

Backport to get CI to pass:

This reverts commit 3c95ccc, reversing
changes made to da53118.

A concern was raised about the force-off option which may be confusing
because it doesn't force them "off", it turns off the "force on" option.
Force-off is the default and can change per target.
@rustbot rustbot added A-build-execution Area: anything dealing with executing the compiler A-documenting-cargo-itself Area: Cargo's documentation A-manifest Area: Cargo.toml issues A-profiles Area: profiles S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels May 15, 2026
@rustbot
Copy link
Copy Markdown
Collaborator

rustbot commented May 15, 2026

r? @weihanglo

rustbot has assigned @weihanglo.
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

Why was this reviewer chosen?

The reviewer was selected based on:

  • Owners of files modified in this PR: @ehuss, @epage, @weihanglo
  • @ehuss, @epage, @weihanglo expanded to ehuss, epage, weihanglo
  • Random selection from epage, weihanglo

@rustbot
Copy link
Copy Markdown
Collaborator

rustbot commented May 15, 2026

⚠️ Warning ⚠️

  • Pull requests are usually filed against the master branch for this repo, but this one is against rust-1.96.0. Please double check that you specified the right target!

@weihanglo weihanglo enabled auto-merge May 15, 2026 15:08
@epage
Copy link
Copy Markdown
Contributor

epage commented May 15, 2026

This revert is directly against beta. Are we also going to revert in master? If this was the beginning of a release, I'd be more comfortable figuring things out but we don't have too much time left and there is a conference eating into our time.

See
https://github.com/rust-lang/cargo/actions/runs/24515552632/job/71658352382?pr=16892

```
error: test failed for example starting on line 1322: expected error message not found in compiler output
Expected: the trait `Trait` is not dyn compatible
Got:
error[E0038]: the trait `updated_crate::Trait` is not dyn compatible
  --> /tmp/.tmp0LpIwx/example.rs:10:22
   |
10 |     let obj: Box<dyn Trait> = Box::new(Foo);
   |                      ^^^^^ `updated_crate::Trait` is not dyn compatible
   |
note: for a trait to be dyn compatible it needs to allow building a vtable
      for more information, visit <https://doc.rust-lang.org/reference/items/traits.html#dyn-compatibility>
  --> /tmp/.tmp0LpIwx/after.rs:6:11
   |
 6 |     const CONST: i32 = 123;
   |           ^^^^^ the trait is not dyn compatible because it contains associated const `CONST`
   = help: only type `Foo` implements `updated_crate::Trait`; consider using it directly instead.

error: aborting due to 1 previous error
```
@ehuss ehuss changed the title Revert "feat: add frame-pointers profile option (#16742)" [beta 1.96] Revert "feat: add frame-pointers profile option (#16742)" May 15, 2026
@ehuss
Copy link
Copy Markdown
Contributor Author

ehuss commented May 15, 2026

Sure, posted #16999 for master, too.

@weihanglo weihanglo merged commit bfa14ef into rust-lang:rust-1.96.0 May 15, 2026
58 of 60 checks passed
@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label May 15, 2026
rust-bors Bot pushed a commit to rust-lang/rust that referenced this pull request May 16, 2026
[beta-1.96] Update cargo submodule

1 commits in 9fb171546a9db5513062de20df78116ed5ee7668..bfa14ef47afbddd88d6be1913a0e486386a566a2
2026-04-14 20:13:35 -0500 to 2026-05-15 13:10:54 -0400
- Revert "feat: add frame-pointers profile option (rust-lang/cargo#16742)" (rust-lang/cargo#16998)

r? ghost
rust-bors Bot pushed a commit to rust-lang/rust that referenced this pull request May 16, 2026
[beta-1.96] Update cargo submodule

1 commits in 9fb171546a9db5513062de20df78116ed5ee7668..bfa14ef47afbddd88d6be1913a0e486386a566a2
2026-04-14 20:13:35 -0500 to 2026-05-15 13:10:54 -0400
- Revert "feat: add frame-pointers profile option (rust-lang/cargo#16742)" (rust-lang/cargo#16998)

r? ghost
rust-bors Bot pushed a commit to rust-lang/rust that referenced this pull request May 17, 2026
[beta-1.96] Update cargo submodule

1 commits in 9fb171546a9db5513062de20df78116ed5ee7668..bfa14ef47afbddd88d6be1913a0e486386a566a2
2026-04-14 20:13:35 -0500 to 2026-05-15 13:10:54 -0400
- Revert "feat: add frame-pointers profile option (rust-lang/cargo#16742)" (rust-lang/cargo#16998)

r? ghost
@rustbot rustbot added this to the 1.96.0 milestone May 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-build-execution Area: anything dealing with executing the compiler A-documenting-cargo-itself Area: Cargo's documentation A-manifest Area: Cargo.toml issues A-profiles Area: profiles

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants