As I mentioned earlier, I am getting the same, also with rust 1.73.0. Right now, we don't have a browser capable of WebGL, with the state of it on the latest Firefox version.
Thunderbird was mentioned to have similar problem, I am not able to reach as far as that, my build terminates earlier
...
g++: fatal error: Killed signal terminated program ld
compilation terminated.
gmake[3]: *** [/usr/pkgsrc/mail/thunderbird/work/thunderbird-115.1.1/config/
rules.mk:535: libxul.so] Error 1
gmake[3]: *** Deleting file 'libxul.so'
gmake[3]: Leaving directory '/usr/pkgsrc/mail/thunderbird/work/build/toolkit/library/build'
...
but this may be a local issue, I'll retry.