tinygo/builder
Ayke van Laethem 4d2a6d2bbe wasm: remove i64 workaround, use BigInt instead
Browsers previously didn't support the WebAssembly i64 type, so we had
to work around that limitation by converting the LLVM i64 type to
something else. Some people used a pair of i32 values, but we used a
pointer to a stack allocated i64.

Now however, all major browsers and Node.js do support WebAssembly
BigInt integration so that i64 values can be passed back and forth
between WebAssembly and JavaScript easily. Therefore, I think the time
has come to drop support for this workaround.

For more information: https://v8.dev/features/wasm-bigint (note that
TinyGo has used a slightly different way of passing i64 values between
JS and Wasm).

For information on browser support: https://webassembly.org/roadmap/
2023-06-17 18:08:09 +02:00
..
ar.go all: format code according to Go 1.19 rules 2022-08-04 12:18:32 +02:00
build.go wasm: remove i64 workaround, use BigInt instead 2023-06-17 18:08:09 +02:00
builder_test.go windows: add ARM64 support 2023-01-30 21:42:47 +01:00
buildid.go Fix for builds of tinygo using an Android host 2022-08-09 11:14:39 +02:00
builtins.go avr: drop GNU toolchain dependency 2022-11-06 09:05:05 +01:00
cc.go builder: remove non-ThinLTO build mode 2023-02-26 19:22:10 +01:00
cc1as.cpp all: remove remaining +build lines 2023-01-17 23:35:53 +01:00
cc1as.h ci: add support for LLVM 15 2022-10-19 22:23:19 +02:00
cc_test.go builder: cache C and assembly file outputs 2021-04-05 20:52:04 +02:00
clang.cpp all: remove remaining +build lines 2023-01-17 23:35:53 +01:00
commands.go builder: remove extra formatting verb from error message 2022-05-18 09:06:03 +02:00
config.go builder: add link to compatibility matrix 2023-04-27 02:44:58 +02:00
darwin-libsystem.go all: remove support for LLVM 11 and LLVM 12 2022-05-07 17:15:35 +02:00
elfpatch.go rp2040: patch elf to checksum 2nd stage boot 2021-06-17 12:10:04 +02:00
env.go all: move from os.IsFoo to errors.Is(err, ErrFoo) 2022-08-07 10:32:23 +02:00
error.go compiler: add location information to the IR checker 2019-12-21 20:49:51 +01:00
esp.go fix some comments 2023-04-18 22:51:49 +02:00
jobs.go builder: print the status of the job that just completed 2023-04-22 10:01:02 +02:00
library.go builder: print compiler commands while building a library 2022-11-12 17:38:02 +01:00
lld.cpp ci: build LLVM with thread support on Windows 2023-03-07 22:38:14 +01:00
mingw-w64.go windows: add ARM64 support 2023-01-30 21:42:47 +01:00
musl.go ci: add support for LLVM 15 2022-10-19 22:23:19 +02:00
nrfutil.go builder: implement Nordic DFU file writer in Go 2023-05-13 09:52:42 +02:00
objcopy.go all: remove calls to deprecated ioutil package 2022-08-07 10:32:23 +02:00
picolibc.go avr: drop GNU toolchain dependency 2022-11-06 09:05:05 +01:00
sizes.go compiler: account for alignment with -size=full 2023-03-08 07:09:46 +01:00
sizes_test.go builder: bump sizes_test 2023-05-16 19:02:08 +02:00
tools-builtin.go windows: add ARM64 support 2023-01-30 21:42:47 +01:00
tools-external.go build: drop deprecated build tags 2022-12-19 23:20:11 +01:00
tools.go main: implement tinygo lldb subcommand 2021-10-05 06:26:21 +02:00
uf2.go all: remove calls to deprecated ioutil package 2022-08-07 10:32:23 +02:00