[REQUEST]: Make the `truncated` message configurable
Author: narpfelCreated Sep 1, 2026Updated Sep 1, 2026
Labelsrequest
Is your feature request related to a problem? Please describe
Similarly to the hint that is shown when there is no assembly (#8369), it would be nice if there were a (configurable) hint when there is too much assembly.
The specific use case I have in mind is Rust, which by default statically links its standard library. This means that “Link to binary” is not very useful without -C prefer-dynamic, but it’s not very discoverable that that’s a good workaround.
Describe the solution you'd like
Add a message to the bottom (or top?) of the truncated output, e. g.
...
nop dword ptr [rax]
core::panicking::panic_const::panic_const_rem_by_zero:
[truncated; too many lines]
# Tip: Pass `-C prefer-dynamic` to remove standard library functions from the output.https://godbolt.org/z/5r1obx7hd
Describe alternatives you've considered
The standard library code could be filtered out, which is #7337.
Additional context
Not applicable
Source: compiler-explorer/compiler-explorer