Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
next.js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex
next.js
Commits
642ae3e4
Unverified
Commit
642ae3e4
authored
Oct 08, 2025
by
Tobias Koppers
Committed by
GitHub
Oct 08, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Turbopack: follow-up changes from untracked tracing (#84629)
### What? avoid some calls when tracing is not enabled
parent
3dcbb849
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
mod.rs
turbopack/crates/turbopack-core/src/module_graph/mod.rs
+1
-2
output.rs
turbopack/crates/turbopack-core/src/output.rs
+2
-2
No files found.
turbopack/crates/turbopack-core/src/module_graph/mod.rs
View file @
642ae3e4
...
...
@@ -1698,12 +1698,11 @@ enum SingleModuleGraphBuilderNode {
impl
SingleModuleGraphBuilderNode
{
async
fn
new_module
(
emit_spans
:
bool
,
module
:
ResolvedVc
<
Box
<
dyn
Module
>>
)
->
Result
<
Self
>
{
let
ident
=
module
.ident
();
Ok
(
Self
::
Module
{
module
,
ident
:
if
emit_spans
{
// INVALIDATION: we don't need to invalidate when the span name changes
Some
(
ident
.to
_string
()
.untracked
()
.await
?
)
Some
(
module
.ident
_string
()
.untracked
()
.await
?
)
}
else
{
None
},
...
...
turbopack/crates/turbopack-core/src/output.rs
View file @
642ae3e4
...
...
@@ -20,8 +20,8 @@ pub trait OutputAsset: Asset {
/// The identifier of the [OutputAsset] as string. It's expected to be unique and
/// capture all properties of the [OutputAsset].
#[turbo_tasks
::
function]
async
fn
path_string
(
self
:
Vc
<
Self
>
)
->
Result
<
Vc
<
RcStr
>
>
{
Ok
(
self
.path
()
.resolve
()
.await
?
.to_string
()
)
fn
path_string
(
self
:
Vc
<
Self
>
)
->
Vc
<
RcStr
>
{
self
.path
()
.to_string
(
)
}
/// Other references [OutputAsset]s from this [OutputAsset].
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment