Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add .wasm cc artifact executable extension #16091

Conversation

nullcatalyst
Copy link

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

This allows using a 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
@oquenchil oquenchil self-assigned this Dec 16, 2022
@oquenchil oquenchil added awaiting-PR-merge PR has been approved by a reviewer and is ready to be merge internally and removed awaiting-review PR is awaiting review from an assigned reviewer labels Jan 20, 2023
copybara-service bot pushed a commit that referenced this pull request Feb 7, 2023
Similar to #16091 except also allow the `.wasm` extension for dynamic libraries.

Closes #17374.

PiperOrigin-RevId: 507668339
Change-Id: Id85f98bb804e573e5f93a922b67baf75a22baf16
zaucy pushed a commit to zaucy/bazel that referenced this pull request Feb 8, 2023
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 bazelbuild#16091.

PiperOrigin-RevId: 503921110
Change-Id: I3ed9e50a945d2e415e2ab34bd99ceea481c987f0
zaucy added a commit to zaucy/bazel that referenced this pull request Feb 8, 2023
Similar to bazelbuild#16091 except also allow the `.wasm` extension for dynamic libraries.

Closes bazelbuild#17374.

PiperOrigin-RevId: 507668339
Change-Id: Id85f98bb804e573e5f93a922b67baf75a22baf16
hvadehra pushed a commit that referenced this pull request Feb 14, 2023
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
hvadehra pushed a commit that referenced this pull request Feb 14, 2023
Similar to #16091 except also allow the `.wasm` extension for dynamic libraries.

Closes #17374.

PiperOrigin-RevId: 507668339
Change-Id: Id85f98bb804e573e5f93a922b67baf75a22baf16
keertk pushed a commit that referenced this pull request Feb 28, 2023
* Add .wasm cc artifact executable extension

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

* Add .wasm cc dynamic library extension

Similar to #16091 except also allow the `.wasm` extension for dynamic libraries.

Closes #17374.

PiperOrigin-RevId: 507668339
Change-Id: Id85f98bb804e573e5f93a922b67baf75a22baf16

---------

Co-authored-by: Scott Bennett <scottbennett@google.com>
Co-authored-by: kshyanashree <109167932+kshyanashree@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team-Rules-CPP Issues for C++ rules
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants