@pyscript/core 0.6.60 → 0.6.61

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/config.js CHANGED
@@ -154,6 +154,13 @@ for (const [TYPE] of TYPES) {
154
154
  return await Promise.all(toBeAwaited);
155
155
  };
156
156
 
157
+ if (parsed?.experimental_ffi_timeout) {
158
+ const ffi_timeout = +parsed?.experimental_ffi_timeout;
159
+ if (typeof ffi_timeout === "number" && Number.isFinite(ffi_timeout)) {
160
+ globalThis.reflected_ffi_timeout = ffi_timeout;
161
+ }
162
+ }
163
+
157
164
  configs.set(TYPE, { config: parsed, configURL, plugins, error });
158
165
  }
159
166