mirror of https://github.com/astral-sh/uv
Upgrade to Rust 1.76 (#1820)
This commit is contained in:
parent
deef6c102d
commit
39ee3969d9
|
|
@ -77,25 +77,21 @@ impl BuildContext for DummyContext {
|
||||||
&self.index_locations
|
&self.index_locations
|
||||||
}
|
}
|
||||||
|
|
||||||
async fn resolve<'a>(&'a self, _requirements: &'a [Requirement]) -> Result<Resolution> {
|
async fn resolve<'a>(&'a self, _: &'a [Requirement]) -> Result<Resolution> {
|
||||||
panic!("The test should not need to build source distributions")
|
panic!("The test should not need to build source distributions")
|
||||||
}
|
}
|
||||||
|
|
||||||
async fn install<'a>(
|
async fn install<'a>(&'a self, _: &'a Resolution, _: &'a Virtualenv) -> Result<()> {
|
||||||
&'a self,
|
|
||||||
_resolution: &'a Resolution,
|
|
||||||
_venv: &'a Virtualenv,
|
|
||||||
) -> Result<()> {
|
|
||||||
panic!("The test should not need to build source distributions")
|
panic!("The test should not need to build source distributions")
|
||||||
}
|
}
|
||||||
|
|
||||||
async fn setup_build<'a>(
|
async fn setup_build<'a>(
|
||||||
&'a self,
|
&'a self,
|
||||||
_source: &'a Path,
|
_: &'a Path,
|
||||||
_subdirectory: Option<&'a Path>,
|
_: Option<&'a Path>,
|
||||||
_package_id: &'a str,
|
_: &'a str,
|
||||||
_dist: Option<&'a SourceDist>,
|
_: Option<&'a SourceDist>,
|
||||||
_build_kind: BuildKind,
|
_: BuildKind,
|
||||||
) -> Result<Self::SourceDistBuilder> {
|
) -> Result<Self::SourceDistBuilder> {
|
||||||
Ok(DummyBuilder)
|
Ok(DummyBuilder)
|
||||||
}
|
}
|
||||||
|
|
@ -108,7 +104,7 @@ impl SourceBuildTrait for DummyBuilder {
|
||||||
panic!("The test should not need to build source distributions")
|
panic!("The test should not need to build source distributions")
|
||||||
}
|
}
|
||||||
|
|
||||||
async fn wheel<'a>(&'a self, _wheel_dir: &'a Path) -> Result<String> {
|
async fn wheel<'a>(&'a self, _: &'a Path) -> Result<String> {
|
||||||
panic!("The test should not need to build source distributions")
|
panic!("The test should not need to build source distributions")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,2 +1,2 @@
|
||||||
[toolchain]
|
[toolchain]
|
||||||
channel = "1.75"
|
channel = "1.76"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue