Skip to content

Commit 2e3ab82

Browse files
authored
Move a debug warning to runtime_debug.js. NFC (#24947)
1 parent 210ef8e commit 2e3ab82

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/postamble.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,3 @@ var workerResponded = false, workerCallbackId = -1;
427427
})();
428428

429429
#endif
430-
431-
#if STANDALONE_WASM && ASSERTIONS && !WASM_BIGINT
432-
err('warning: running JS from STANDALONE_WASM without WASM_BIGINT will fail if a syscall with i64 is used (in standalone mode we cannot legalize syscalls)');
433-
#endif

src/runtime_debug.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ function dbg(...args) {
2929

3030
#if ASSERTIONS
3131

32+
#if STANDALONE_WASM && !WASM_BIGINT
33+
err('warning: running JS from STANDALONE_WASM without WASM_BIGINT will fail if a syscall with i64 is used (in standalone mode we cannot legalize syscalls)');
34+
#endif
35+
3236
// Endianness check
3337
#if !SUPPORT_BIG_ENDIAN
3438
(() => {

0 commit comments

Comments
 (0)