46cbcf3ff1
* feat(cli): allow sync fs operation between workers/mainThread * allow sync fs operation between workers/mainThread (#2065) * Fix * Update fixture * flaky test * Fix cross compile target * Update zig * macos-cross test was filtered --------- Co-authored-by: Toyo Li <lifenglin314@outlook.com>
15 lines
432 B
JavaScript
15 lines
432 B
JavaScript
const { MessageHandler, instantiateNapiModuleSync, instantiateNapiModule } = require('@emnapi/core')
|
|
const { getDefaultContext } = require('@emnapi/runtime')
|
|
const { WASI } = require('@tybys/wasm-util')
|
|
|
|
const { createFsProxy, createOnMessage } = require('./fs-proxy.cjs')
|
|
|
|
module.exports = {
|
|
MessageHandler,
|
|
instantiateNapiModule,
|
|
instantiateNapiModuleSync,
|
|
getDefaultContext,
|
|
WASI,
|
|
createFsProxy,
|
|
createOnMessage,
|
|
}
|