File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 3131function updateMemoryViews ( ) {
3232 var b = wasmMemory . buffer ;
3333#if SUPPORT_BIG_ENDIAN
34- { { { maybeExport ( 'HEAP_DATA_VIEW' ) } } } HEAP_DATA_VIEW = new DataView ( b ) ;
34+ { { { maybeExportHeap ( 'HEAP_DATA_VIEW' ) } } } HEAP_DATA_VIEW = new DataView ( b ) ;
3535#endif
3636 { { { maybeExportHeap ( 'HEAP8' ) } } } HEAP8 = new Int8Array ( b ) ;
3737 { { { maybeExportHeap ( 'HEAP16' ) } } } HEAP16 = new Int16Array ( b ) ;
Original file line number Diff line number Diff line change @@ -14680,3 +14680,7 @@ def test_mimalloc_headers(self):
1468014680 }
1468114681 '''
1468214682 self.do_run(src, emcc_args=['-sMALLOC=mimalloc'])
14683+
14684+ def test_SUPPORT_BIG_ENDIAN(self):
14685+ # Just a simple build-only test for now
14686+ self.run_process([EMCC, '-sSUPPORT_BIG_ENDIAN', test_file('hello_world.c')])
You can’t perform that action at this time.
0 commit comments