Skip to content
Snippets Groups Projects

rts: avoid building unused cbits on wasm

Open Cheng Shao requested to merge wip/wasm-fix-lto into master
2 files
+ 46
29
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 2
0
@@ -347,8 +347,10 @@ hs_init_ghc(int *argc, char **argv[], RtsConfig rts_config)
@@ -347,8 +347,10 @@ hs_init_ghc(int *argc, char **argv[], RtsConfig rts_config)
/* Initialise the adjustors subsystem */
/* Initialise the adjustors subsystem */
initAdjustors();
initAdjustors();
 
#if RTS_LINKER_USE_MMAP
/* Initialise mmapForLinker */
/* Initialise mmapForLinker */
initLinkerMMap();
initLinkerMMap();
 
#endif
/* Initialise the stats department, phase 1 */
/* Initialise the stats department, phase 1 */
initStats1();
initStats1();
Loading