-
Notifications
You must be signed in to change notification settings - Fork 49
Closed
Description
When I use cargo size
I got this error: Could not determine the wanted artifact.
My project is a workspace, organized like:
- root
- src
- Cargo.toml
- examples
- example1
- Cargo.toml
- example2
- Cargo.toml
- Cargo.toml
The example1 and example2 has different compile target, both use src
. So I enabled cargo-features = ["per-package-target"]
and forced-target = "thumbv6m-none-eabi"
in Cargo.toml.
cargo size
worked well in the previous Rust nightly version(2023-12-31), but recently I updated Rust to 1.77-nightly(2024-01-17), cargo size
was broken then.
Metadata
Metadata
Assignees
Labels
No labels