blob: 71f878fa457daebb6e97ba8c76a99c9490854432 [file] [log] [blame] [edit]
/**
* @license
* Copyright 2015 The Emscripten Authors
* SPDX-License-Identifier: MIT
*/
// When bootstrapping struct info, we can't use the full library because
// it itself depends on the struct info information.
#if !BOOTSTRAPPING_STRUCT_INFO
assert(false, "library_bootstrap.js only designed for use with BOOTSTRAPPING_STRUCT_INFO")
#endif
assert(!LibraryManager.library);
LibraryManager.library = {
$callRuntimeCallbacks: function() {},
$keepRuntimeAlive: function() { return false }
};