• Sergey Pepyakin's avatar
    Fix wasm build (#102) · 3d469484
    Sergey Pepyakin authored
    * Reserve pages for heap at initialization time
    
    Since it is freshly allocated memory it won't collide with stack, data or whatever else.
    
    * Compile all wasm files with LTO.
    
    Modules compiled without LTO contain undesired imports and outright invalid (e.g. type mismatches inside the wasm).
    3d469484