Skip to content

Commit c52af09

Browse files
fix(build): remove zig-out from files (#360)
In zapi, [local path takes preference](https://github.com/ChainSafe/zapi/blob/e522fa4beb5eacfb8ee0f9a964b435a88bb8f2ba/ts/lib.ts#L218) so we want to not publish with that entry under `files`, otherwise `lodestar` will attempt to load an architecture incompatible library on `dlopen`. Locally testing after pulling from a published `lodestar-z` is failing because my machine (aarch64-apple-darwin) is trying to load from an x86_64-linux binary, so we'd need to re-publish after we fix this
1 parent 28b43a9 commit c52af09

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
"version": "0.1.2-rc.1",
44
"description": "Lodestar-z NAPI bindings",
55
"files": [
6-
"bindings/src/",
7-
"zig-out/lib/"
6+
"bindings/src/"
87
],
98
"type": "module",
109
"exports": {

0 commit comments

Comments
 (0)