You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get this error thread 'main' panicked at 'called Result::unwrap()on anErr value: 'target' specifier cannot be used without an 'artifact = …' value (web-sys)', src/tools/cargo/src/cargo/util/toml/mod.rs:1553:14
when I try to compile a project that have some git dependancies. When using the same dependancy from crates all works.
I needed some modification in some dependancies for a program I was working on, so used them with git.
The current behaviour started with
rust 1.61 nightly nightly-2022-04-01-x86_64-unknown-linux-gnu
the version between nightly-2022-02-24-x86_64-unknown-linux-gnu and nightly-2022-03-31-x86_64-unknown-linux-gnu had another error:
error: no matching package named `roctogen` found
location searched: https://github.com/llde/roctogen
roctogen seem the only package affected, not the other packages linked with a git dependancy.
I'm going to close as fixed. The reproducer is no longer available, and I'm not sure how exactly to reproduce it. Regardless, I think this was a consequence of some intermediate work being done with #10497 that was resolved in some subsequent PRs.
Problem
Hi,
I get this error
thread 'main' panicked at 'called
Result::unwrap()on an
Errvalue: 'target' specifier cannot be used without an 'artifact = …' value (web-sys)', src/tools/cargo/src/cargo/util/toml/mod.rs:1553:14
when I try to compile a project that have some git dependancies. When using the same dependancy from crates all works.
I needed some modification in some dependancies for a program I was working on, so used them with git.
The current behaviour started with
rust 1.61 nightly nightly-2022-04-01-x86_64-unknown-linux-gnu
the version between nightly-2022-02-24-x86_64-unknown-linux-gnu and nightly-2022-03-31-x86_64-unknown-linux-gnu had another error:
roctogen seem the only package affected, not the other packages linked with a git dependancy.
Last nightly version that worked was 2022-02-23
Steps
1.) Create a new project.
2.) use this Cargo.toml manifest: https://gist.github.com/llde/a8d7f437a725534a4a802da6148c715e
3.)cargo build
See the panic happen.
This is a minimal reproducer, with roctogen.
Possible Solution(s)
No response
Notes
Backtrace:
Stack backtrace:
Version
The text was updated successfully, but these errors were encountered: