Skip to content

Commit

Permalink
[bazel] populate all_files (emscripten-core#1274)
Browse files Browse the repository at this point in the history
Fixes emscripten-core#1273. This was broken by emscripten-core#1045 with the comment "* all_files not needed?" They were needed.
  • Loading branch information
walkingeyerobot authored and shlomif committed Sep 29, 2023
1 parent 16d3178 commit 0b10952
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion bazel/emscripten_toolchain/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,15 @@ filegroup(
],
)

filegroup(
name = "all_files",
srcs = [
":ar_files",
":compiler_files",
":linker_files",
],
)

filegroup(name = "empty")

# dlmalloc.bc is implictly added by the emscripten toolchain
Expand All @@ -61,7 +70,7 @@ emscripten_cc_toolchain_config_rule(

cc_toolchain(
name = "cc-compiler-wasm",
all_files = ":empty",
all_files = ":all_files",
ar_files = ":ar_files",
as_files = ":empty",
compiler_files = ":compiler_files",
Expand Down

0 comments on commit 0b10952

Please sign in to comment.