Skip to content

Build offload in dist-x86_64-linux CI job#159064

Draft
sgasho wants to merge 3 commits into
rust-lang:mainfrom
sgasho:offload-dist
Draft

Build offload in dist-x86_64-linux CI job#159064
sgasho wants to merge 3 commits into
rust-lang:mainfrom
sgasho:offload-dist

Conversation

@sgasho

@sgasho sgasho commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Build std::offload in CI - dist-x86_64-linux

@rustbot rustbot added A-CI Area: Our Github Actions CI A-testsuite Area: The testsuite used to check the correctness of rustc S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue. labels Jul 10, 2026
@Kobzol

Kobzol commented Jul 10, 2026

Copy link
Copy Markdown
Member

@bors delegate try

@rust-bors

rust-bors Bot commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

✌️ @sgasho, you can now perform try builds on this pull request!

You can now post @bors try to start a try build.

@sgasho

sgasho commented Jul 10, 2026

Copy link
Copy Markdown
Contributor Author

@bors try jobs=dist-x86_64-linux

rust-bors Bot pushed a commit that referenced this pull request Jul 10, 2026
Build offload in dist-x86_64-linux CI job


try-job: dist-x86_64-linux
@rust-bors

This comment has been minimized.

@rust-bors

rust-bors Bot commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

☀️ Try build successful (CI)
Build commit: bb4478e (bb4478e7edac7d0a86c29a3ac65f56cfa1d81a72)
Base parent: 3ead112 (3ead112e67f8feb4d6b09e12f1b5d83b87698961)

@sgasho

sgasho commented Jul 12, 2026

Copy link
Copy Markdown
Contributor Author

@bors try jobs=dist-x86_64-linux

@rust-bors

This comment has been minimized.

rust-bors Bot pushed a commit that referenced this pull request Jul 12, 2026
Build offload in dist-x86_64-linux CI job


try-job: dist-x86_64-linux
@rust-bors

rust-bors Bot commented Jul 12, 2026

Copy link
Copy Markdown
Contributor

💔 Test for 7b815a7 failed: CI. Failed job:

@rust-log-analyzer

This comment has been minimized.

@rustbot rustbot added the T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) label Jul 13, 2026
@sgasho

sgasho commented Jul 13, 2026

Copy link
Copy Markdown
Contributor Author

@bors try jobs=dist-x86_64-linux

@rust-bors

This comment has been minimized.

rust-bors Bot pushed a commit that referenced this pull request Jul 13, 2026
Build offload in dist-x86_64-linux CI job


try-job: dist-x86_64-linux
pub fn copy_directory(src: &Utf8Path, dst: &Utf8Path) -> anyhow::Result<()> {
log::info!("Copying directory {src} to {dst}");
fs_extra::dir::copy(src, dst, &CopyOptions::default().copy_inside(true))?;
fs_extra::dir::copy(src, dst, &CopyOptions::default().content_only(true))?;

@sgasho sgasho Jul 13, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I couldn't figure out why copy_inside(true) is used here. The latest CI failure seems related, so I'd like to try content_only(true).

View changes since the review

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

(I also feel that using copy_inside(true) in a function named copy_directory can lead to unexpected behavior, as seen in the latest CI failure. It does more than just copy the contents of src to dst)

@rust-bors

rust-bors Bot commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

☀️ Try build successful (CI)
Build commit: 9872f3c (9872f3c6d16727671e9f43962be4e12c30bdf321)
Base parent: 5503df8 (5503df87342a73d0c29126a7e08dc9c1255c46ad)

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-testsuite Area: The testsuite used to check the correctness of rustc S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants