Yousaf Nabi (pactflow.io)
.a
file, and we get a musl
prebuild.
I assumed it was linked to the .a
file, but actually it is quite happy with the .so
file which is non-musl, as long as it has a musl
based prebuilt node file.
head splodeMatt (pactflow.io / pact-js / pact-go)
Yousaf Nabi (pactflow.io)
du -sh js/prebuilds/linux-arm64/node.napi.musl.node
46M js/prebuilds/linux-arm64/node.napi.musl.node
Yousaf Nabi (pactflow.io)
PACT_PREBUILD_LOCATION
to use it with a released version of pact-jsMatt (pactflow.io / pact-js / pact-go)
.a
files don’t get linked at runtime, they are compiled into (statically linked) the artifact itselfMatt (pactflow.io / pact-js / pact-go)
.node
file has everything it needsYousaf Nabi (pactflow.io)
Matt (pactflow.io / pact-js / pact-go)
Yousaf Nabi (pactflow.io)
Yousaf Nabi (pactflow.io)