Automatically add HasCallStack constraints on all my functions

Viewed 182

I'm looking for a compiler flag or something similar that would automatically add the HasCallStack context to all of my functions.

I was suggested to enable profiling to get a similar effect but I don't want to recompile my dependencies, and I'd be perfectly fine with only the functions in my application getting annotated.

If there isn't such a flag, why?

0 Answers
Related