[contrib] Fix single-file compilation error on Emscripten build.#2227
[contrib] Fix single-file compilation error on Emscripten build.#2227Cyan4973 merged 3 commits intofacebook:devfrom yoshihitoh:single-file-dict-emscripten
Conversation
|
Thanks @yoshihitoh ! I also like the care you took in adding a test, including a docker stage when |
|
@Cyan4973 Thank you for taking the time to review this PR!
Yes, this patch will make tests to trust the docker image If it is not a good way to trust the third-party image, I can replace it to the official image or dedicated image using local Dockerfile for this feature. I think this is the official image: published by emscripten-core/emsdk on CI build: |
|
Thanks for very clear explanations @yoshihitoh , I readily admit that I'm not a specialist when it comes to docker, The docker image you selected looks reasonable, |
…testing the single-file feature.
|
@Cyan4973 Thank you for the detailed explanation about the security consideration!
I agree with you, and I changed the docker image to the Emscripten's official one with an explicit
|
The single-file library makes a compilation error on Emscripten build due to static variable names collisions, reported on #2211
dockerifemcccommand is not availableError like this...
will be fixed like...