Skip to content

Commit

Permalink
feat(cu): add metered module formats to default supported formats
Browse files Browse the repository at this point in the history
  • Loading branch information
TillaTheHun0 committed Oct 18, 2024
1 parent 6fb2985 commit 3a57459
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion servers/cu/src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,15 @@ const MODE = process.env.NODE_CONFIG_ENV

if (!MODE) throw new Error('NODE_CONFIG_ENV must be defined')

const DEFAULT_PROCESS_WASM_MODULE_FORMATS = ['wasm32-unknown-emscripten', 'wasm32-unknown-emscripten2', 'wasm32-unknown-emscripten3', 'wasm32-unknown-emscripten4', 'wasm64-unknown-emscripten-draft_2024_02_15']
const DEFAULT_PROCESS_WASM_MODULE_FORMATS = [
'wasm32-unknown-emscripten',
'wasm32-unknown-emscripten2',
'wasm32-unknown-emscripten3',
'wasm32-unknown-emscripten4',
'wasm64-unknown-emscripten-draft_2024_02_15',
'wasm32-unknown-emscripten-metering',
'wasm64-unknown-emscripten-draft_2024_10_16-metering'
]

/**
* The server config is an extension of the config required by the domain (business logic).
Expand Down

0 comments on commit 3a57459

Please sign in to comment.