Unverified Commit b27c722a authored by Benjamin Woodruff's avatar Benjamin Woodruff Committed by GitHub

refactor(turbo-tasks): Add NonLocalValue marker trait implementation for TransientState (#74509)

parent 6b7241a3
...@@ -75,6 +75,7 @@ macro_rules! impl_auto_marker_trait { ...@@ -75,6 +75,7 @@ macro_rules! impl_auto_marker_trait {
<<T as $crate::VcValueType>::Read as $crate::VcRead<T>>::Target: $trait <<T as $crate::VcValueType>::Read as $crate::VcRead<T>>::Target: $trait
{} {}
unsafe impl<T: $trait> $trait for $crate::State<T> {} unsafe impl<T: $trait> $trait for $crate::State<T> {}
unsafe impl<T: $trait> $trait for $crate::TransientState<T> {}
unsafe impl<T: $trait> $trait for $crate::Value<T> {} unsafe impl<T: $trait> $trait for $crate::Value<T> {}
unsafe impl<T: $trait> $trait for $crate::TransientValue<T> {} unsafe impl<T: $trait> $trait for $crate::TransientValue<T> {}
unsafe impl<T: $trait> $trait for $crate::TransientInstance<T> {} unsafe impl<T: $trait> $trait for $crate::TransientInstance<T> {}
......
...@@ -236,7 +236,7 @@ impl EcmascriptModuleAssetBuilder { ...@@ -236,7 +236,7 @@ impl EcmascriptModuleAssetBuilder {
} }
} }
#[turbo_tasks::value(local)] #[turbo_tasks::value]
pub struct EcmascriptModuleAsset { pub struct EcmascriptModuleAsset {
pub source: ResolvedVc<Box<dyn Source>>, pub source: ResolvedVc<Box<dyn Source>>,
pub asset_context: ResolvedVc<Box<dyn AssetContext>>, pub asset_context: ResolvedVc<Box<dyn AssetContext>>,
......
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