-
Notifications
You must be signed in to change notification settings - Fork 88
platform: avoid name confliction between platform header and emscripten-libc #550
Conversation
# This is the 1st commit message: platform: avoid name confliction with emscripten-libc Signed-off-by: Shikugawa <[email protected]> # This is the commit message envoyproxy#2: fix Signed-off-by: Shikugawa <[email protected]> # This is the commit message envoyproxy#3: fix Signed-off-by: Shikugawa <[email protected]>
22077cc
to
102b12c
Compare
Under what circumstance are we including envoy headers in an emscripten build? This should never happen. This is one of the critical features of Wasm: having a clean API/SDK which does not depend on arbitrary envoy headers. |
@jplevyak WASM API/SDK has no problem. So it works fine. But we have situations that we must use envoy headers when we build istio-proxy wasm implementation. If we don't use envoy headers in this situation, we must have a lot of duplicated implementations between istio-proxy and envoy. So I think that we should have an ability to accept portion of envoy headers, shouldn't we? |
@Shikugawa Sounds like we need some refactoring of the envoy headers. This is also the case for the service protobuf used for gRPC. See #538 This PR allows envoy specific code for envoy wasm plugins. We can refactor envoy so that the bits we need are independent and then include them there. |
Signed-off-by: Shikugawa <[email protected]>
Signed-off-by: Shikugawa <[email protected]>
@jplevyak I think that we still need this. It is caused by |
@jplevyak |
Signed-off-by: Shikugawa <[email protected]>
0c02ec4
to
cb16449
Compare
Signed-off-by: Shikugawa <[email protected]>
Signed-off-by: Shikugawa <[email protected]>
Signed-off-by: Shikugawa <[email protected]>
OK, let's merge this. Do we need the code QL ? |
Signed-off-by: Shikugawa [email protected]
For an explanation of how to fill out the fields, please see the relevant section
in PULL_REQUESTS.md
Commit Message: Name confliction will occur when we build envoy common library by emscripten because of emscripten-libc. We can avoid this problem with this patch.
Additional Description:
Risk Level: Low
Testing:
Docs Changes:
Release Notes:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Deprecated:]