mirror of
https://github.com/apple/swift.git
synced 2026-10-08 12:50:50 +02:00
The compiler always builds and links `swiftImmediate`, which needs LLVM's ORC/ExecutionEngine JIT that a JIT-less WebAssembly host lacks. A new `SWIFT_BUILD_IMMEDIATE_MODE` option (default on) gates the library and its uses behind `#if`. With it off, `-interpret` reports a diagnostic instead of failing to link.