fix(ci): force-reinstall rust-std for target (win-arm64 E0463 fix)#783
Conversation
soldr#1006 Lane 2 third attempt. v2.3.9 win-arm64 failed at:
error[E0463]: can't find crate for `core`
note: the `aarch64-pc-windows-msvc` target may not be installed
`rustup target add` had already reported "info: component rust-std
for target aarch64-pc-windows-msvc is up to date". The mismatch is
setup-soldr's thin-mode build cache: it trims the actual rust-std
.rlib files from the toolchain dir while leaving rustup's
component manifest claiming the target is installed. Subsequent
`rustup target add` then short-circuits and rustc fails at compile.
Fix: remove + add. `rustup target remove` clears the manifest
entry so the immediate `rustup target add` reinstalls the files
for real.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe "Add Rust target" CI step is changed from a single ChangesRustup Target Installation Fix
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
Poem
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
soldr#1006 Lane 2 retry after PR #783. Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
soldr#1006 Lane 2 third attempt. v2.3.9 win-arm64 failed with
E0463: can't find crate for 'core'despiterustup target addreporting "is up to date" — setup-soldr's thin-mode build cache trimmed the .rlib files while leaving rustup's manifest entry. Fix: remove + add forces actual file reinstall.Summary by CodeRabbit