panic on {Rust,Python}::make_dependency
This commit is contained in:
@@ -40,7 +40,7 @@ impl Backend for Python {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn make_dependency(&self, _packages: &[Package]) -> Result<ExitStatus> {
|
fn make_dependency(&self, _packages: &[Package]) -> Result<ExitStatus> {
|
||||||
todo!()
|
panic!("not supported by {}", BINARY)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ impl Backend for Rust {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn make_dependency(&self, _: &[Package]) -> Result<ExitStatus> {
|
fn make_dependency(&self, _: &[Package]) -> Result<ExitStatus> {
|
||||||
unreachable!("cargo does not have unmanaged packages")
|
panic!("not supported by {}", BINARY)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user