Unverified Commit 4160afe2 authored by Niklas Mischkulnig's avatar Niklas Mischkulnig Committed by GitHub

Turbopack: allow compiling turbopack-node without a pool backend (#97943)

It failed to compile thus far if you didn't set any features.
Co-authored-by: 's avatarvercel-fleet-prod[bot] <318278635+vercel-fleet-prod[bot]@users.noreply.github.com>
parent 80f846c7
use std::{cmp::max, fmt::Debug, time::Duration}; use std::{cmp::max, fmt::Debug, time::Duration};
#[cfg(any(feature = "process_pool", feature = "worker_pool"))]
use tokio::sync::OwnedSemaphorePermit; use tokio::sync::OwnedSemaphorePermit;
#[cfg(any(feature = "process_pool", feature = "worker_pool"))]
pub enum AcquiredPermits { pub enum AcquiredPermits {
Idle { Idle {
// This is used for drop // This is used for drop
......
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