comparison third_party/emsdk/bazel/test_secondary_lto_cache/MODULE.bazel @ 179:8d17f6e6e290

[ThirdParty] Added emsdk bazel rules that can be supported by bazel 9.0.0
author MrJuneJune <me@mrjunejune.com>
date Thu, 22 Jan 2026 21:23:17 -0800
parents
children
comparison
equal deleted inserted replaced
178:94705b5986b3 179:8d17f6e6e290
1 bazel_dep(name = "rules_cc", version = "0.1.1")
2 bazel_dep(name = "emsdk")
3 local_path_override(
4 module_name = "emsdk",
5 path = "..",
6 )
7
8 emscripten_cache = use_extension(
9 "@emsdk//:emscripten_cache.bzl",
10 "emscripten_cache",
11 )
12 emscripten_cache.configuration(flags = ["--lto"])
13 emscripten_cache.targets(targets = [
14 "crtbegin",
15 "libprintf_long_double-debug",
16 "libstubs-debug",
17 "libnoexit",
18 "libc-debug",
19 "libdlmalloc",
20 "libcompiler_rt",
21 "libc++-noexcept",
22 "libc++-debug-noexcept",
23 "libc++abi-debug-noexcept",
24 "libsockets",
25 "libdlmalloc-debug",
26 ])