Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add build for linux-musl target (#3754)
Summary: This PR attempts to fix #3725 and #3739. A new target `x86_64-unknown-linux-musl` has been added to `ci.yml` along with the additional `musl-tools` package (can be removed in the future when [this issue](actions-rs/toolchain#102) is resolved) and the `hyper-tls/vendored` feature which allow to build openssl-sys package for the new target. I ended up with building directly on GitHub Action VM without custom docker image because it allows to implement it just as a new target in matrix. Building in docker image requires a [separated job](https://github.com/ch1ffa/relay/blob/1c4651ff81cb901a487e4d9ca0a719058833f5a0/.github/workflows/ci.yml#L133). [detect-libc](https://www.npmjs.com/package/detect-libc) is using for detecting correct platform. Compiled binary has been tested inside `node:alpine` image. I'm not sure how to test it in the Bazel Sandbox, maybe it is better to ask the issue author. Pull Request resolved: #3754 Test Plan: Imported from GitHub, without a `Test Plan:` line. **Static Docs Preview: relay** |[Full Site](https://our.intern.facebook.com/intern/staticdocs/eph/1642521860/relay/)| |**Modified Pages**| Reviewed By: kassens Differential Revision: D33622425 Pulled By: alunyov fbshipit-source-id: 8c16074f2d15fd400ad657cd2497fde85b54ef6d
- Loading branch information