Skip to content

Conversation

andjo403
Copy link
Contributor

hade been nice to have some reserved names (eg. def_id, cgu_id ...) for the additional data now I have only enumerated them.

eg. of how it looks in chrome://tracing/
image

@wesleywiser wesleywiser self-assigned this Jan 15, 2020
Copy link
Member

@wesleywiser wesleywiser left a comment

Choose a reason for hiding this comment

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

This is awesome!

@wesleywiser wesleywiser merged commit 8cb2704 into rust-lang:master Jan 15, 2020
@andjo403 andjo403 deleted the crox_args branch January 15, 2020 10:12
@andjo403
Copy link
Contributor Author

@michaelwoerister how do you feel about having the seperators inform about the type of argument that will come e.g. so def_id can be printed insted of arg0

@michaelwoerister
Copy link
Member

I think the main problem is that we don't have the parameter name available at the time of recording. In many cases we don't even define a name for the argument (and most of the time it's just key).

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.

3 participants