Skip to content

Conversation

ShoyuVanilla
Copy link
Member

Resolves #14434

@rustbot
Copy link
Collaborator

rustbot commented Jun 17, 2025

r? @weihanglo

rustbot has assigned @weihanglo.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rustbot rustbot added A-build-execution Area: anything dealing with executing the compiler A-cargo-targets Area: selection and definition of targets (lib, bins, examples, tests, benches) A-cfg-expr Area: Platform cfg expressions A-cli Area: Command-line interface, option parsing, etc. A-documenting-cargo-itself Area: Cargo's documentation A-layout Area: target output directory layout, naming, and organization A-manifest Area: Cargo.toml issues A-timings Area: timings Command-build S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jun 17, 2025
@rustbot rustbot added the A-cli-help Area: built-in command-line help label Jun 17, 2025
Copy link
Contributor

@epage epage left a comment

Choose a reason for hiding this comment

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

Figured I'd share my quick thoughts rather than make all wait on a deeper one.

@ShoyuVanilla
Copy link
Member Author

ShoyuVanilla commented Jun 17, 2025

I've pondered upon this more and decided not to introduce new UserIntent/CompileMode and I'll re-request you for reviews once I finished it. Sorry for bothering you

@ShoyuVanilla
Copy link
Member Author

Oh, test failure looks strange 🤔 Maybe something related to Sized changed in rustc nightly?

 test failed running `/Users/runner/work/cargo/cargo/target/debug/cargo build --lib --target custom-target.json -v`
error: process exited with code 101 (expected 0)
--- stdout

--- stderr
   Compiling foo v0.0.1 (/Users/runner/work/cargo/cargo/target/tmp/cit/t1384/foo)
     Running `rustc --crate-name foo --edition=2015 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=d4fb0c790b31c5ca -C extra-filename=-cf2ab74374a2d944 --out-dir /Users/runner/work/cargo/cargo/target/tmp/cit/t1384/foo/target/custom-target/debug/deps --target /Users/runner/work/cargo/cargo/target/tmp/cit/t1384/foo/custom-target.json -L dependency=/Users/runner/work/cargo/cargo/target/tmp/cit/t1384/foo/target/custom-target/debug/deps -L dependency=/Users/runner/work/cargo/cargo/target/tmp/cit/t1384/foo/target/debug/deps`
error: requires `meta_sized` lang_item
  --> src/lib.rs:9:1
   |
9  | / pub trait Sized {
10 | |     // Empty.
11 | | }
   | |_^

@ShoyuVanilla
Copy link
Member Author

I filed a new issue addressing this CI failure #15678

@epage epage enabled auto-merge June 18, 2025 18:03
@epage
Copy link
Contributor

epage commented Jun 18, 2025

Thanks!

auto-merge was automatically disabled June 19, 2025 00:09

Head branch was pushed to by a user without write access

@ShoyuVanilla
Copy link
Member Author

Rebased on master to resolve the CI failure

@epage epage added this pull request to the merge queue Jun 19, 2025
Merged via the queue into rust-lang:master with commit 0b974c0 Jun 19, 2025
24 checks passed
@ShoyuVanilla ShoyuVanilla deleted the comp-time-deps branch June 19, 2025 01:33
bors added a commit to rust-lang/rust that referenced this pull request Jun 23, 2025
Update cargo

7 commits in 2251525ae503fa196f6d7f9ce6d32eccb2d5f044..84709f085062cbf3c51fa507527c1b2334015178
2025-06-16 22:01:27 +0000 to 2025-06-22 23:58:39 +0000
- Bump cargo-util-schemas version (rust-lang/cargo#15696)
- test(msrv): use a far future "newer" version (rust-lang/cargo#15693)
- Plumb rustc `-Zhint-mostly-unused` flag through as a profile option (rust-lang/cargo#15643)
- Disable lldb test, which seems to be broken due to issues with lldb (rust-lang/cargo#15687)
- docs(contrib): change clap URL to docs.rs/clap (rust-lang/cargo#15682)
- feat: Introduce perma unstable `--compile-time-deps` option for `cargo build` (rust-lang/cargo#15674)
- fix: Failing tests on rustc nightly (rust-lang/cargo#15679)
@rustbot rustbot added this to the 1.89.0 milestone Jun 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-build-execution Area: anything dealing with executing the compiler A-cargo-targets Area: selection and definition of targets (lib, bins, examples, tests, benches) A-cfg-expr Area: Platform cfg expressions A-cli Area: Command-line interface, option parsing, etc. A-cli-help Area: built-in command-line help A-documenting-cargo-itself Area: Cargo's documentation A-layout Area: target output directory layout, naming, and organization A-manifest Area: Cargo.toml issues A-timings Area: timings Command-build Command-check S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Introduce perma-unstable --compile-time-deps flag

4 participants