Commit e7fd4cf
Fix wasm dynamic library extension crash (bazelbuild#17757)
This is an amendment to bazelbuild#17374
We have a C++ toolchain config that's being developed to support standalone wasm. We discovered that bazelbuild#17374 wasn't complete. Our example was poorly written and didn't actually create a wasm dynamic library. These changes allow us to successfully create a standalone wasm dynamic library. Sorry for the botched attempt previously.
I would like to add tests, but I'm unsure how to approach such a tests considering the automatic toolchain doesn't support wasm AFAICT.
Closes bazelbuild#17698.
PiperOrigin-RevId: 516204125
Change-Id: Iced5cc80a3151ffde7116b6264c89eaf40466ff5
Co-authored-by: Ezekiel Warren <[email protected]>1 parent 885ae7e commit e7fd4cf
File tree
3 files changed
+12
-6
lines changed- src
- main
- java/com/google/devtools/build/lib/rules/cpp
- starlark/builtins_bzl/common/cc
- test/java/com/google/devtools/build/lib/rules/cpp
3 files changed
+12
-6
lines changedLines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
209 | | - | |
| 209 | + | |
| 210 | + | |
210 | 211 | | |
211 | 212 | | |
212 | 213 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
350 | 350 | | |
351 | 351 | | |
352 | 352 | | |
353 | | - | |
| 353 | + | |
| 354 | + | |
354 | 355 | | |
355 | 356 | | |
356 | 357 | | |
| |||
539 | 540 | | |
540 | 541 | | |
541 | 542 | | |
542 | | - | |
| 543 | + | |
| 544 | + | |
543 | 545 | | |
544 | 546 | | |
545 | 547 | | |
546 | 548 | | |
547 | | - | |
| 549 | + | |
548 | 550 | | |
549 | 551 | | |
550 | 552 | | |
| |||
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5296 | 5296 | | |
5297 | 5297 | | |
5298 | 5298 | | |
5299 | | - | |
| 5299 | + | |
| 5300 | + | |
| 5301 | + | |
5300 | 5302 | | |
5301 | 5303 | | |
5302 | | - | |
| 5304 | + | |
| 5305 | + | |
5303 | 5306 | | |
5304 | 5307 | | |
5305 | 5308 | | |
| |||
0 commit comments