Skip to content

Handle unsized consts with type str in v0 symbol mangling - #130344

Merged
bors merged 1 commit into
rust-lang:masterfrom
Jaic1:fix-116306
Sep 23, 2024
Merged

bors merged 1 commit into
rust-lang:masterfrom
Jaic1:fix-116306

Conversation

@Jaic1

@Jaic1 Jaic1 commented Sep 14, 2024

Copy link
Copy Markdown
Contributor

This PR fixes #116303 by handling consts with type str in v0 symbol mangling as partial support for unsized consts.

This PR is related to #![feature(adt_const_params)] (#95174) and #![feature(unsized_const_params)] (#128028).

r? @BoxyUwU

@ghost ghost self-assigned this Sep 14, 2024
@ghost ghost added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Sep 14, 2024
Comment thread compiler/rustc_symbol_mangling/src/v0.rs Outdated

ghost commented Sep 19, 2024

Copy link
Copy Markdown
Member

Can you also squash all of your commits into one? I think this is good to merge afterwards :)

@ghost
ghost force-pushed the fix-116306 branch from 41d142d to 02f52b0 Compare September 20, 2024 00:52

This comment has been minimized.

@ghost
ghost force-pushed the fix-116306 branch from 02f52b0 to c2ccd89 Compare September 20, 2024 01:55

ghost commented Sep 22, 2024

Copy link
Copy Markdown
Member

@bors r+ rollup

thank you for the PR :)

ghost commented Sep 22, 2024

Copy link
Copy Markdown

📌 Commit c2ccd89 has been approved by BoxyUwU

It is now in the queue for this repository.

@ghost ghost 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 Sep 22, 2024
@ghost
ghost merged commit 23393de into rust-lang:master Sep 23, 2024
@ghost ghost added this to the 1.83.0 milestone Sep 23, 2024
@ghost
ghost deleted the fix-116306 branch September 26, 2024 12:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ICE: symbol_names: unsupported constant of type 'str', -Cinstrument-coverage

5 participants