-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Do not make local copies of inline fns in debug mode #76896
Conversation
@bors try @rust-timer queue |
Awaiting bors try build completion |
⌛ Trying commit 750d026f9f6561d9aab7019699f4f2617a8fde97 with merge 0128011c7686d53eca2f1f38b1187109c8c1d734... |
☀️ Try build successful - checks-actions, checks-azure |
Queued 0128011c7686d53eca2f1f38b1187109c8c1d734 with parent 2cbc570, future comparison URL. |
Finished benchmarking try commit (0128011c7686d53eca2f1f38b1187109c8c1d734): comparison url. Benchmarking this pull request likely means that it is perf-sensitive, so we're automatically marking it as not fit for rolling up. Please note that if the perf results are neutral, you should likely undo the rollup=never given below by specifying Importantly, though, if the results of this run are non-neutral do not roll this PR up -- it will mask other regressions or improvements in the roll up. @bors rollup=never |
750d026
to
35f74f8
Compare
5ad917c
to
72559c9
Compare
Triage: Is this ready for review? There's still "[WIP]" in the PR title. |
@crlf0710 will be working on this soon :). |
72559c9
to
c750d45
Compare
@bors try @rust-timer queue |
Awaiting bors try build completion |
⌛ Trying commit c750d454122ecb66ea0fa99c34b6e92d3bd4f502 with merge ea5a68ada90e66a25730add973e96ac969449dc8... |
☀️ Try build successful - checks-actions, checks-azure |
Queued ea5a68ada90e66a25730add973e96ac969449dc8 with parent a85e949, future comparison URL. |
Finished benchmarking try commit (ea5a68ada90e66a25730add973e96ac969449dc8): comparison url. Benchmarking this pull request likely means that it is perf-sensitive, so we're automatically marking it as not fit for rolling up. Please note that if the perf results are neutral, you should likely undo the rollup=never given below by specifying Importantly, though, if the results of this run are non-neutral do not roll this PR up -- it will mask other regressions or improvements in the roll up. @bors rollup=never |
@bors r+ |
📌 Commit c750d454122ecb66ea0fa99c34b6e92d3bd4f502 has been approved by |
The failure looks legit. The output of |
…wiser handle generic trait methods in coverage-report tests also make the generic function pattern more specific and remove the extra $ that fails the matching. r? `@wesleywiser` as this was failing the test of rust-lang#76896
…rino handle generic trait methods in coverage-report tests also make the generic function pattern more specific and remove the extra $ that fails the matching. r? `@wesleywiser` as this was failing the test of rust-lang#76896
The fix for the failure is merged now so this PR is ready for merge |
Now that the coverage fix is merged ... @bors r=davidtwco,wesleywiser |
💡 This pull request was already approved, no need to approve it again.
|
📌 Commit 07a5982 has been approved by |
@bors retry |
☀️ Test successful - checks-actions |
I'll repost an earlier comment I left on this PR since it's collapsed now:
If you disagree, this PR can still be backed out as nothing else depends on it. Thanks! |
I've bisected a regression in stdarch's CI on the wasm target to this PR (opened an issue at #80916), and after reviewing this I don't think that this is the right change to make. It looks like the PR's title, not inlining functions in debug mode, already happens before this PR. This PR seems to only change I've historically been under the assumption, however, that This just landed so there's plenty of time to figure out what to do though, and I'd be happy to converse either here or at #80916 |
…debug, r=wesleywiser Revert "Auto merge of rust-lang#76896 - spastorino:codegen-inline-fns2 This reverts commit ddf2cc7, reversing changes made to 937f629. As `@alexcrichton` pointed out in rust-lang#80916 there's a problem with the taken approach.
Rollup of 10 pull requests Successful merges: - rust-lang#78901 (diagnostics: Note capturing closures can't be coerced to fns) - rust-lang#79588 (Provide more information for HRTB lifetime errors involving closures) - rust-lang#80232 (Remove redundant def_id lookups) - rust-lang#80662 (Added support for i386-unknown-linux-gnu and i486-unknown-linux-gnu) - rust-lang#80736 (use Once instead of Mutex to manage capture resolution) - rust-lang#80796 (Update to LLVM 11.0.1) - rust-lang#80859 (Fix --pretty=expanded with --remap-path-prefix) - rust-lang#80922 (Revert "Auto merge of rust-lang#76896 - spastorino:codegen-inline-fns2) - rust-lang#80924 (Fix rustdoc --test-builder argument parsing) - rust-lang#80935 (Rename `rustc_middle::lint::LevelSource` to `LevelAndSource`) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
r? @wesleywiser
cc @rust-lang/wg-incr-comp
If this is correct it supersedes #76889
Related to #54089