Skip to content

Conversation

Darksonn
Copy link
Contributor

@Darksonn Darksonn commented Aug 27, 2025

This renames the method to be consistent with the ongoing T-libs-api FCP found at #141727 (comment).

I did not rename the unstable feature as we are going to be stabilizing it soon anyway. This will probably break RfL, so it will require an updated commit hash for the Linux Kernel that I will add here soon.

r? @Amanieu

@Darksonn Darksonn added T-libs-api Relevant to the library API team, which will review and decide on the PR/issue. A-panic Area: Panicking machinery labels Aug 27, 2025
@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. A-CI Area: Our Github Actions CI A-testsuite Area: The testsuite used to check the correctness of rustc T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue. labels Aug 27, 2025
@Darksonn
Copy link
Contributor Author

@bors try jobs=x86_64-rust-for-linux

@rust-bors

This comment has been minimized.

rust-bors bot added a commit that referenced this pull request Aug 27, 2025
Rename `Location::file_with_nul` to `file_as_c_str`

try-job: x86_64-rust-for-linux
LINUX_VERSION=v6.16-rc1
LINUX_VERSION=7a0a1152bc8dd86a6f12782595688fcc23e990cd
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, Rust didn't get the update to 6.17 yet. In that case, I don't think this will break the RfL job, so this isn't needed after all.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I am waiting for another PR to get another temporary commit they need. I will do the update after these two land, since that will be the simplest for the PRs.

@rust-bors
Copy link

rust-bors bot commented Aug 27, 2025

☀️ Try build successful (CI)
Build commit: 7ec49b0 (7ec49b0b14f3e47d3a151bb079ef8a9a37c7609e, parent: b2dd217dd0a099fb87601657ec480bf3e92b30a6)

@Darksonn
Copy link
Contributor Author

@bors try jobs=x86_64-rust-for-linux

@rust-bors

This comment has been minimized.

rust-bors bot added a commit that referenced this pull request Aug 28, 2025
Rename `Location::file_with_nul` to `file_as_c_str`

try-job: x86_64-rust-for-linux
@rust-bors
Copy link

rust-bors bot commented Aug 28, 2025

☀️ Try build successful (CI)
Build commit: f548f3b (f548f3b3da99e60edd150a71091fa45d9c6de0e3, parent: d36f964125163c2e698de5559efefb8217b8b7f0)

@joshtriplett
Copy link
Member

@bors r+ rollup

@bors
Copy link
Collaborator

bors commented Aug 28, 2025

📌 Commit dacae07 has been approved by joshtriplett

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 Aug 28, 2025
Zalathar added a commit to Zalathar/rust that referenced this pull request Aug 28, 2025
…lett

Rename `Location::file_with_nul` to `file_as_c_str`

This renames the method to be consistent with the ongoing T-libs-api FCP found at rust-lang#141727 (comment).

I did not rename the unstable feature as we are going to be stabilizing it soon anyway. This will probably break RfL, so it will require an updated commit hash for the Linux Kernel that I will add here soon.

r? `@Amanieu`
bors added a commit that referenced this pull request Aug 28, 2025
Rollup of 9 pull requests

Successful merges:

 - #142727 (wasm: rm static mut)
 - #143193 (Port `#[link]` to the new attribute parsing infrastructure )
 - #144864 (No source fixes)
 - #145913 (Add spin_loop hint for LoongArch)
 - #145926 (compiletest: Remove several remnants of the old libtest-based executor)
 - #145928 (Rename `Location::file_with_nul` to `file_as_c_str`)
 - #145930 (`const`ify (the unstable) `str::as_str`)
 - #145941 (Disable `integer_to_ptr_transmutes` suggestion for unsized types)
 - #145953 (Update `icu_list` to 2.0)

r? `@ghost`
`@rustbot` modify labels: rollup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-CI Area: Our Github Actions CI A-panic Area: Panicking machinery A-testsuite Area: The testsuite used to check the correctness of rustc S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants