about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-11-21 07:56:11 +0100
committerGitHub <noreply@github.com>2024-11-21 07:56:11 +0100
commit61878ec254ce3345f337a9fee3d9e63337b2a06b (patch)
treeafcc4c455ea4fcd71d589f144f103b99a4529427 /compiler/rustc_codegen_llvm/src/errors.rs
parent2d0ea7956c45de6e421fd579e2ded27be405dec6 (diff)
parentb071f6405cd7622b12bd45c4d6d77c7663a97816 (diff)
downloadrust-61878ec254ce3345f337a9fee3d9e63337b2a06b.tar.gz
rust-61878ec254ce3345f337a9fee3d9e63337b2a06b.zip
Rollup merge of #131736 - hoodmane:emscripten-wasm-bigint, r=workingjubilee
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.

Note this includes a libc bump to 0.2.162!
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions