Replace @intCast with std.math.cast for PC-relative and other
bounded relocations in x86_64, aarch64, and riscv backends.
The linker now reports 'relocation truncated to fit' instead of
panicking when a relocation value exceeds the destination type.
closes #31580
Contributed with ♥ by SB0 LTD
Replace @intCast with std.math.cast for PC-relative and other
bounded relocations in x86_64, aarch64, and riscv backends.
The linker now reports 'relocation truncated to fit' instead of
panicking when a relocation value exceeds the destination type.
closes #31580
Contributed with ♥ by [SB0 LTD](https://sb0.tech)