Skip to content

Rollup of 5 pull requests - #136387

Closed
matthiaskrgr wants to merge 10 commits into
rust-lang:masterfrom
matthiaskrgr:rollup-psrf0e1
Closed

Rollup of 5 pull requests#136387
matthiaskrgr wants to merge 10 commits into
rust-lang:masterfrom
matthiaskrgr:rollup-psrf0e1

Conversation

@matthiaskrgr

@matthiaskrgrmatthiaskrgr commented Feb 1, 2025

Copy link
Copy Markdown
Member

Successful merges:

r? @ghost
@rustbot modify labels: rollup

Create a similar rollup

try-job: dist-powerpc64-linux

onur-ozkanand others added 10 commits January 30, 2025 23:30
Signed-off-by: onur-ozkan <work@onurozkan.dev>
Add target and compile the amdgpu llvm backend.
Provide a new function `listify`, meant to be used in cases similar to `pluralize!`. When you have a slice of arbitrary elements that need to be presented to the user, `listify` allows you to turn that into a list of comma separated strings.
This reduces a lot of redundant logic that happens often in diagnostics.
…bilee
Add amdgpu target
Add amdgpu target to rustc and enable the LLVM target.
Fix compiling `core` with the amdgpu:
The amdgpu backend makes heavy use of different address spaces. This
leads to situations, where a pointer in one addrspace needs to be casted
to a pointer in a different addrspace. `bitcast` is invalid for this
case, `addrspacecast` needs to be used.
Fix compilation failures that created bitcasts for such cases by
creating pointer casts (which creates an `addrspacecast` under the hood)
instead.
MCP: rust-lang/compiler-team#823
Tracking issue: rust-lang#135024
Kinda related to the original amdgpu tracking issue rust-lang#51575 (though that one has been closed for a while).
Update encode_utf16 to mention it is native endian
Fixesrust-lang#83102
set rustc dylib on manually constructed rustc command
Fixesrust-lang#133629
…-headers, r=jieyouxu
CompileTest: Add Directives to Ignore `arm-unknown-*` Targets
In rust-lang#134626, I want to ignore `arm-unknown-*` targets because the LLVM IR for those looks very different compared to other targets: https://rust.godbolt.org/z/ssYMhdv4x.
I can use `ignore-arm` but, I think, it would exclude large number of Apple devices.
So this PR adds a few directives to ignore `arm-unknown-*` targets specifically.
Make comma separated lists of anything easier to make for errors
Provide a new function `listify`, meant to be used in cases similar to `pluralize!`. When you have a slice of arbitrary elements that need to be presented to the user, `listify` allows you to turn that into a list of comma separated strings.
This reduces a lot of redundant logic that happens often in diagnostics.
@rustbotrustbot added A-compiletest Area: The compiletest test runner A-testsuite Area: The testsuite used to check the correctness of rustc S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue. rollup A PR which is a rollup labels Feb 1, 2025
@matthiaskrgr

Copy link
Copy Markdown
MemberAuthor

@bors try
cc #136378

bors added a commit to rust-lang-ci/rust that referenced this pull request Feb 1, 2025
Rollup of 5 pull requests
Successful merges:
- rust-lang#134740 (Add amdgpu target)
- rust-lang#136283 (Update encode_utf16 to mention it is native endian)
- rust-lang#136309 (set rustc dylib on manually constructed rustc command)
- rust-lang#136339 (CompileTest: Add Directives to Ignore `arm-unknown-*` Targets)
- rust-lang#136368 (Make comma separated lists of anything easier to make for errors)
r? `@ghost`
`@rustbot` modify labels: rollup
try-job: dist-powerpc64-linux
@bors

bors commented Feb 1, 2025

Copy link
Copy Markdown
Collaborator

⌛ Trying commit c4f05a5 with merge c304204...

@matthiaskrgr

Copy link
Copy Markdown
MemberAuthor

@rustbot author

@rustbotrustbot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Feb 1, 2025
@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

A job failed! Check out the build log: (web)(plain)

Click to see the possible cause of the failure (guessed by this bot)

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

Labels

A-compiletestArea: The compiletest test runnerA-testsuiteArea: The testsuite used to check the correctness of rustcrollupA PR which is a rollupS-waiting-on-authorStatus: This is awaiting some action (such as code changes or more information) from the author.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.T-libsRelevant to the library team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants

@matthiaskrgr@bors@rust-log-analyzer@rustbot@onur-ozkan@veera-sivarajan@Flakebi@hkBst@estebank