mirror of
https://github.com/rust-lang/rust.git
synced 2025-12-08 05:49:44 +00:00
This allows profiling costly arguments to be recorded only when `-Zself-profile-events=args` is on: using a closure that takes an `EventArgRecorder` and call its `record_arg` or `record_args` methods.