refactor(core): Move Deno.core bindings to ops (#14793)

This commit is contained in:
Nayeem Rahman 2022-06-07 10:25:10 +01:00 committed by GitHub
parent cfb6067f9b
commit 9385a91312
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 941 additions and 1260 deletions

View file

@ -231,7 +231,7 @@ delete Object.prototype.__proto__;
function runtimeStart(runtimeOptions, source) {
core.setMacrotaskCallback(timers.handleTimerMacrotask);
core.setWasmStreamingCallback(fetch.handleWasmStreaming);
core.setFormatExceptionCallback(formatException);
core.opSync("op_set_format_exception_callback", formatException);
version.setVersions(
runtimeOptions.denoVersion,
runtimeOptions.v8Version,