bootstrap and compiletest: Use size_of_val from the prelude instead of imported by thaliaarchi · Pull Request #138041 · rust-lang/rust (original) (raw)

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 andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation10 Commits1 Checks6 Files changed

Conversation

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})

thaliaarchi

Use std::mem::size_of_val from the prelude instead of importing or qualifying it.

This function was added to all preludes in Rust 1.80.

r? @jieyouxu

@rustbot rustbot 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)

labels

Mar 5, 2025

@rustbot

Some changes occurred in src/tools/compiletest

cc @jieyouxu

@rust-log-analyzer

This comment has been minimized.

@thaliaarchi

Looks like a spurious, unrelated failure?

@jieyouxu

Unrelated, gcc dist step network problem.

Thanks!
@bors r+ rollup

@bors

📌 Commit 1cacddc has been approved by jieyouxu

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

Mar 5, 2025

jieyouxu added a commit to jieyouxu/rust that referenced this pull request

Mar 5, 2025

@jieyouxu

…ostrap-compiletest, r=jieyouxu

bootstrap and compiletest: Use size_of_val from the prelude instead of imported

Use std::mem::size_of_val from the prelude instead of importing or qualifying it.

This function was added to all preludes in Rust 1.80.

r? @jieyouxu

bors added a commit to rust-lang-ci/rust that referenced this pull request

Mar 5, 2025

@bors

Rollup of 23 pull requests

Successful merges:

r? @ghost @rustbot modify labels: rollup

@jieyouxu

There's a cfg(windows)-gated use std::mem in job.rs.

@bors r-

@bors bors 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-bors

Status: Waiting on bors to run and complete tests. Bors will change the label on completion.

labels

Mar 5, 2025

@thaliaarchi

…f imported

Use std::mem::size_of_val from the prelude instead of importing or qualifying it.

This function was added to all preludes in Rust 1.80.

@thaliaarchi

@jieyouxu

Don't worry, happens very frequently to me too when I don't feel like testing both linux and windows locally.

@jieyouxu

@bors

📌 Commit c85d3f6 has been approved by jieyouxu

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-author

Status: This is awaiting some action (such as code changes or more information) from the author.

labels

Mar 5, 2025

Noratrieb added a commit to Noratrieb/rust that referenced this pull request

Mar 6, 2025

@Noratrieb

…ostrap-compiletest, r=jieyouxu

bootstrap and compiletest: Use size_of_val from the prelude instead of imported

Use std::mem::size_of_val from the prelude instead of importing or qualifying it.

This function was added to all preludes in Rust 1.80.

r? @jieyouxu

bors added a commit to rust-lang-ci/rust that referenced this pull request

Mar 7, 2025

@bors

rust-timer added a commit to rust-lang-ci/rust that referenced this pull request

Mar 7, 2025

@rust-timer

Rollup merge of rust-lang#138041 - thaliaarchi:use-prelude-size-of.boostrap-compiletest, r=jieyouxu

bootstrap and compiletest: Use size_of_val from the prelude instead of imported

Use std::mem::size_of_val from the prelude instead of importing or qualifying it.

This function was added to all preludes in Rust 1.80.

r? @jieyouxu

@thaliaarchi thaliaarchi deleted the use-prelude-size-of.boostrap-compiletest branch

March 7, 2025 06:19

github-actions bot pushed a commit to model-checking/verify-rust-std that referenced this pull request

Mar 14, 2025

@bors

Labels

A-compiletest

Area: The compiletest test runner

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-bootstrap

Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)