proxy-wasm-cpp-host icon indicating copy to clipboard operation
proxy-wasm-cpp-host copied to clipboard

Fix references to prefix_wasm_api

Open keithmattix opened this issue 1 year ago • 6 comments

References to include/wasm.h changed to crates/c-api/include/wasm.h, so the prefixed api output needs to change as well. Fixes #418

keithmattix avatar Sep 26 '24 17:09 keithmattix

@keithmattix The change looks fine, but could you please confirm that it fixes the build and tests with --define=engine=multi? The CI doesn't check that configuration due to time constraints. Thanks!

PiotrSikora avatar Sep 27 '24 15:09 PiotrSikora

@PiotrSikora I at least got past the error @wbpcode reported in #418, but am now dealing with wasmedge failures. I haven't been able to get past them yet, but will keep trying. If @wbpcode has a working setup, they may be able to confirm before I can. I think the wasmedge compilation step is considering all of my warnings as errors and I'm trying to find where I can disable that

keithmattix avatar Sep 27 '24 15:09 keithmattix

@wbpcode @mpwarres could you verify if this fixes the multi-engine builds?

PiotrSikora avatar Oct 03 '24 17:10 PiotrSikora

@PiotrSikora FWIW, I faced the same problem as in #418 and arrived to the same fix as @keithmattix did. I checked that it addresses the problem for me and the command from #418 works for me now:

bazel build --define=engine=multi :lib
INFO: Build option --define has changed, discarding analysis cache.
INFO: Analyzed target //:lib (0 packages loaded, 71587 targets configured).
INFO: Found 1 target...
Target //:lib up-to-date (nothing to build)
INFO: Elapsed time: 3.186s, Critical Path: 0.70s
INFO: 1 process: 1 internal.
INFO: Build completed successfully, 1 total action

Would it count as verification enough to merge this PR?

krinkinmu avatar Oct 04 '24 12:10 krinkinmu

@mpwarres @martijneken could you guys review and merge it? Thanks!

PiotrSikora avatar Oct 06 '24 16:10 PiotrSikora

@mpwarres @martijneken could you guys review and merge it? Thanks!

Ping?

PiotrSikora avatar Oct 12 '24 03:10 PiotrSikora

@martijneken @mpwarres ping?

keithmattix avatar Dec 12 '24 16:12 keithmattix

Sorry for the delay and thanks for the nudge, this fell through the cracks. Thanks for the fix!

mpwarres avatar Dec 13 '24 19:12 mpwarres