Unverified Commit 493fba50 authored by Luke Sandberg's avatar Luke Sandberg Committed by GitHub

[turbopack] Disable ctor under RA (#94022)

Fix the `leftover tokens` issue we have been getting from rust-analyzer

maybe?
parent bf529933
......@@ -315,6 +315,8 @@ pub fn value_impl(args: TokenStream, input: TokenStream) -> TokenStream {
// `LazyLock` initializer (via `CollectableTraitMethods::finalize_vtable_registry`).
// The vtable pointer is materialized at compile time via the null-fat-ptr trick, so
// there's no runtime `transmute` or indirect fn call.
#[cfg(not(rust_analyzer))]
#[turbo_tasks::macro_helpers::ctor::ctor(
crate_path = turbo_tasks::macro_helpers::ctor,
)]
......
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