Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/emscripten-core/emscripten
/ warnOnce
Function
warnOnce
src/utility.mjs:76–81 ·
view source on GitHub ↗
(msg)
Source
from the content-addressed store, hash-verified
74
const
seenWarnings =
new
Set();
75
76
export
function
warnOnce(msg) {
77
if
(!seenWarnings.has(msg)) {
78
seenWarnings.add(msg);
79
warn(msg);
80
}
81
}
82
83
let
abortExecution = false;
84
Callers
15
addFromLibrary
Function · 0.90
alignfault
Function · 0.70
postamble.js
File · 0.70
missingGlobal
Function · 0.70
missingLibrarySymbol
Function · 0.70
libopenal.js
File · 0.50
libglfw.js
File · 0.50
dbg
Function · 0.50
disableHalfFloatExtensionIfBroken
Function · 0.50
libwebgl.js
File · 0.50
libsdl.js
File · 0.50
libwasi.js
File · 0.50
Calls
3
has
Method · 0.80
warn
Function · 0.70
add
Method · 0.45
Tested by
no test coverage detected