about summary refs log tree commit diff
path: root/compiler/rustc_resolve/src
diff options
context:
space:
mode:
authorHood Chatham <roberthoodchatham@gmail.com>2024-10-15 14:40:59 +0200
committerHood Chatham <roberthoodchatham@gmail.com>2024-11-11 17:25:50 +0100
commitb071f6405cd7622b12bd45c4d6d77c7663a97816 (patch)
tree5dc17562368fc78c9d5e42a550c5a2e353596610 /compiler/rustc_resolve/src
parentd4822c2d84c242cc7403118b50c571464f38ef8f (diff)
downloadrust-b071f6405cd7622b12bd45c4d6d77c7663a97816.tar.gz
rust-b071f6405cd7622b12bd45c4d6d77c7663a97816.zip
Emscripten: link with -sWASM_BIGINT
When linking an executable without dynamic linking, this is a pure improvement.
It significantly reduces code size and avoids a lot of buggy behaviors. It is
supported in all browsers for many years and in all maintained versions of
Node.

It does change the ABI, so people who are dynamically linking with a library
or executable that uses the old ABI may need to turn it off. It can be disabled
if needed by passing `-Clink-arg -sWASM_BIGINT=0` to `rustc`. But few people
will want to turn it off.
Diffstat (limited to 'compiler/rustc_resolve/src')
0 files changed, 0 insertions, 0 deletions