You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In today's community meeting call, we discussed ways to find functions with excessive stack usage. It turns out that there's a fairly easy method to getting the minimum stack usage for each function:
Enable "-Z emit-stack-sizes" in rustflags (this requires a nightly compiler).
Run `llvm-readobj --stack-sizes target/x86_64-unknown-none/..." on the output binary.
It might be possible to automate this and run it in CI.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
In today's community meeting call, we discussed ways to find functions with excessive stack usage. It turns out that there's a fairly easy method to getting the minimum stack usage for each function:
It might be possible to automate this and run it in CI.
Beta Was this translation helpful? Give feedback.
All reactions