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
Copy file name to clipboardExpand all lines: crates/uv-build-frontend/src/error.rs
+6-1Lines changed: 6 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -91,6 +91,10 @@ pub enum Error {
91
91
NoSourceDistBuilds,
92
92
#[error("Cyclic build dependency detected for `{0}`")]
93
93
CyclicBuildDependency(PackageName),
94
+
#[error(
95
+
"Extra build requirement `{0}` was declared with `match-runtime = true`, but `{1}` does not declare static metadata, making runtime-matching impossible"
96
+
)]
97
+
UnmatchedRuntime(PackageName,PackageName),
94
98
}
95
99
96
100
implIsBuildBackendErrorforError{
@@ -106,7 +110,8 @@ impl IsBuildBackendError for Error {
warning: The `extra-build-dependencies` option is experimental and may change without warning. Pass `--preview-features extra-build-dependencies` to disable this warning.
13118
+
× Failed to download and build `source-distribution==0.0.3`
13119
+
╰─▶ Extra build requirement `iniconfig` was declared with `match-runtime = true`, but `source-distribution` does not declare static metadata, making runtime-matching impossible
13120
+
help: `source-distribution` (v0.0.3) was included because `foo` (v0.1.0) depends on `source-distribution`
0 commit comments