Skip to content

Custom locations prototype 2#155

Draft
nagisa wants to merge 3 commits intomainfrom
nagisa/custom-locations
Draft

Custom locations prototype 2#155
nagisa wants to merge 3 commits intomainfrom
nagisa/custom-locations

Conversation

@nagisa
Copy link
Copy Markdown
Owner

@nagisa nagisa commented Jan 5, 2026

No description provided.

moulins and others added 3 commits January 5, 2026 01:50
Tracy requires that `SpanLocation`s live effectively forever, so
`make_span_location` can just leak the string buffer here.
&LOC
}};
(@internal_field_value function $value:expr) => {
$crate::internal::Cow::<'static, $crate::internal::CStr>::from($value)
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Salient question is whether we should allow Cow for other two stringy fields too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants