Commit Graph

8 Commits

Author SHA1 Message Date
emscripten-bot
f39e849eff Release 4.0.12 (#1579)
With emscripten-releases revisions:

https://chromium.googlesource.com/emscripten-releases/+/209b886304498eff50dd835850dc5715803401ed
(LTO)

https://chromium.googlesource.com/emscripten-releases/+/a9e9ee083503b842a14d31db764e31d65afb8910
(asserts)

---------

Co-authored-by: Sam Clegg <sbc@chromium.org>
2025-08-01 17:34:28 +00:00
emscripten-bot
d49219d03a Release 4.0.11 (#1572)
With emscripten-releases revisions:

https://chromium.googlesource.com/emscripten-releases/+/7033fec38817ec01909b044ea0193ddd5057255c
(LTO)
https://chromium.googlesource.com/emscripten-releases/+/0eacb0d6
(asserts)

---------

Co-authored-by: Sam Clegg <sbc@chromium.org>
2025-07-14 17:23:27 +00:00
emscripten-bot
62a853cd3b Release 4.0.10 (#1565)
With emscripten-releases revisions:

https://chromium.googlesource.com/emscripten-releases/+/8103ffedfb0c42d231c6af6859a5a1a832260b43
(LTO)

https://chromium.googlesource.com/emscripten-releases/+/ccf48a673362f11ddb6c3656405bb6a03b344052
(asserts)
2025-06-06 17:16:11 -07:00
emscripten-bot
3bcf1dcd01 Release 4.0.9 (#1559)
With emscripten-releases revisions:

https://chromium.googlesource.com/emscripten-releases/+/cb2a69bce627bd2247624c71fc12907cb8785d2f
(LTO)

https://chromium.googlesource.com/emscripten-releases/+/27f1e0801c6ec5ea4d9a9e1d573eb1fead3525f1
(asserts)
2025-05-19 16:38:20 +00:00
emscripten-bot
419021fa04 Release 4.0.8 (#1556)
With emscripten-releases revisions:

https://chromium.googlesource.com/emscripten-releases/+/56f86607aeb458086e72f23188789be2ee0e971a
(LTO)

https://chromium.googlesource.com/emscripten-releases/+/ab275365d4057cf92d698ef99744d66cd8c7cba9
(asserts)
2025-04-30 23:22:38 +00:00
emscripten-bot
c69d433d85 Release 4.0.7 (#1549)
With emscripten-releases revisions:

https://chromium.googlesource.com/emscripten-releases/+/ef4e9cedeac3332e4738087567552063f4f250d3
(LTO)

https://chromium.googlesource.com/emscripten-releases/+/4bef8973dc12f5f38022f323d67c16237bbd2962
(asserts)
2025-04-15 21:55:59 +00:00
Conrad Burchert
ed2035a3cc Bazel: Migrate to bzlmod (#1530)
This migrates the bazel integration to the new Bazel dependency system
"bzlmod". bzlmod is becoming mandatory this year (see second sentence
here: https://bazel.build/external/migration).

This is a backwards incompatible migration, directly removing the old
WORKSPACE based approach. Users will have to change how they depend on
bzlmod, however I assume pretty much every user will be happy about it,
because they are forced to use bzlmod anyway or add extra flags to
continue to build with newer Bazel versions. Given that users normally
depend on specific git commits in the old system, they won't be hit with
this until they decide to upgrade emsdk.

The basic principle here is simple: I took everything that WORKSPACE did
and searched an alternative in bzlmod. Some interesting bits:

- We have less worries about multiple versions and people depending on
emscripten multiple times in different ways. This is resolved by the new
system: Bazel first iterates through the MODULE.bazel files recursively,
then finds the minimum version needed for each module and then executes
the module extensions that define repos exactly once at that version. So
no more ifs needed to detect multiple inclusions.
- A bunch of nodejs stuff moves to MODULE.bazel, because that is how the
nodejs module works now. As their module extension gets executed only
once you need to declare everything that you could need before that in
the MODULE.bazel file. A side effect of that is that we have to make a
fake repository when emscripten doesn't have an arm64 binary for linux,
because we can't actually figure that out in MODULE.bazel, so we have to
declare that it always exists and then create one in all cases.

There is a bunch of autoformatter changes in here as well, I could try
to revert them if you prefer.

Closes #1509
2025-04-09 14:38:12 -07:00
Damian
90d2168e72 (bazel) Set @platforms//os:emscripten for platform_wasm (#1363)
* (bazel) Set @platforms//os:emscripten for platform_wasm

* (bazel) Set @platforms//os:emscripten for platform_wasm

* (bazel) Set @platforms//os:emscripten for platform_wasm
2024-04-04 15:04:10 -04:00