Remove asm-specific exports such as `global.Math` (#12716)
These stopped being exported form JS in #11887 but the exports used in the dylink case still included them.
This commit is contained in:
Родитель
bb1f4b8bb3
Коммит
5c750cf903
|
@ -390,11 +390,6 @@ var LibraryDylink = {
|
|||
};
|
||||
var proxy = new Proxy(env, proxyHandler);
|
||||
var info = {
|
||||
'global': {
|
||||
'NaN': NaN,
|
||||
'Infinity': Infinity,
|
||||
},
|
||||
'global.Math': Math,
|
||||
'GOT.mem': new Proxy(asmLibraryArg, GOTHandler),
|
||||
'GOT.func': new Proxy(asmLibraryArg, GOTHandler),
|
||||
'env': proxy,
|
||||
|
|
Загрузка…
Ссылка в новой задаче