Commit 42b7faa6 authored by Tobias Koppers's avatar Tobias Koppers

Fix post-rebase compile error: resolve_strongly_consistent → resolve().strongly_consistent()

The canary rebase replaced the old OperationVc::resolve_strongly_consistent() API
(which returned ResolvedVc) with read_strongly_consistent() (which returns ReadRef).
DaemonProject.container requires ResolvedVc, so use resolve().strongly_consistent()
which is the correct way to get a strongly-consistent ResolvedVc from an OperationVc.
Co-Authored-By: 's avatarClaude <noreply@anthropic.com>
parent b7e40292
...@@ -221,7 +221,7 @@ async fn create_daemon_project( ...@@ -221,7 +221,7 @@ async fn create_daemon_project(
.run(async move { .run(async move {
let container_op = ProjectContainer::new_operation(rcstr!("next.js"), is_dev); let container_op = ProjectContainer::new_operation(rcstr!("next.js"), is_dev);
ProjectContainer::initialize(container_op, options).await?; ProjectContainer::initialize(container_op, options).await?;
container_op.resolve_strongly_consistent().await container_op.resolve().strongly_consistent().await
}) })
.await .await
.context("Failed to create ProjectContainer")?; .context("Failed to create ProjectContainer")?;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment