electron/rebuild

arch = madeUpArch doesn't produce errors

jakobrosenberg opened this issue · 1 comments

Setting arch to wtf either in the CLI or JS doesn't produce an error.

Is this by design? I'm not sure if anything I write in arch has any effect.

It's used. For example: https://github.com/electron/electron-rebuild/blob/9d64870144f2ce673a04aa8e712e895a25b6fe2e/src/module-type/node-gyp.ts#L23

If you think it's not being passed to the various native module type handlers, feel free to debug electron-rebuild and file a more detailed ticket.