Skip to content

Commit

Permalink
Add .wasm cc artifact executable extension
Browse files Browse the repository at this point in the history
This allows creating a custom cc_toolchain that compiles to WebAssembly that outputs a wasm file with the standard extension, without needing to have a genrule that renames the file

Closes #16091.

PiperOrigin-RevId: 503921110
Change-Id: I3ed9e50a945d2e415e2ab34bd99ceea481c987f0
  • Loading branch information
Scott Bennett authored and hvadehra committed Feb 14, 2023
1 parent 088b780 commit 481fe9a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public enum ArtifactCategory {
STATIC_LIBRARY("lib", ".a", ".lib"),
ALWAYSLINK_STATIC_LIBRARY("lib", ".lo", ".lo.lib"),
DYNAMIC_LIBRARY("lib", ".so", ".dylib", ".dll"),
EXECUTABLE("", "", ".exe"),
EXECUTABLE("", "", ".exe", ".wasm"),
INTERFACE_LIBRARY("lib", ".ifso", ".tbd", ".if.lib", ".lib"),
PIC_FILE("", ".pic"),
INCLUDED_FILE_LIST("", ".d"),
Expand Down

0 comments on commit 481fe9a

Please sign in to comment.