--target | Operating System | Architecture | Modern | Baseline |
---|---|---|---|---|
bunRPC-linux-x64 | Linux | x64 | ✅ | ✅ |
bunRPC-linux-arm64 | Linux | arm64 | ✅ | N/A |
bunRPC-windows-x64 | Windows | x64 | ✅ | ✅ |
Windows | arm64 | ❌ | ❌ | |
bunRPC-darwin-x64 | macOS | x64 | ✅ | ✅ |
bunRPC-darwin-arm64 | macOS | arm64 | ✅ | N/A |
On x64 platforms, bunRPC uses SIMD optimizations which require a modern CPU supporting AVX2 instructions. The baseline
build of bunRPC is for older CPUs that don't support these optimizations. You usually don't need to worry about it on Darwin x64, but it is relevant for Windows x64 and Linux x64. If you see "Illegal instruction"
errors, you might need to use the baseline version.
Someone please ensure src/process/native/darwin/index.js works, I don't have macos installed on my mac mini, and hackintosh is not worth setting up for this.