Option ‣ targets - chung-leong/zigar GitHub Wiki

An array listing the platform/archecture combination for which library files will be generated.

Example:

  "targets": [
    { "platform": "win32", "arch": "x64" },
    { "platform": "win32", "arch": "arm64" },
    { "platform": "win32", "arch": "ia32" },
    { "platform": "linux", "arch": "x64" },
    { "platform": "linux", "arch": "arm64" },
    { "platform": "darwin", "arch": "x64" },
    { "platform": "darwin", "arch": "arm64" }
  ]

Possible platforms:

  • aix
  • darwin
  • freebsd
  • linux
  • linux-musl
  • openbsd
  • sunos
  • win32

Possible archectures:

  • arm
  • arm64
  • ia32
  • loong64
  • mips
  • mipsel
  • ppc
  • ppc64
  • riscv64
  • s390
  • s390x
  • x64