feat: ffi to replace plugins (#11152)

This commit removes implementation of "native plugins" and replaces
it with FFI API.

Effectively "Deno.openPlugin" API was replaced with "Deno.dlopen" API.
This commit is contained in:
Elias Sjögreen 2021-08-06 23:28:10 +02:00 committed by GitHub
parent 0d1a522a03
commit 33c8d790c3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
44 changed files with 860 additions and 511 deletions

View file

@ -32,7 +32,7 @@ interface UnitTestPermissions {
net?: boolean;
env?: boolean;
run?: boolean;
plugin?: boolean;
ffi?: boolean;
hrtime?: boolean;
}
@ -84,7 +84,7 @@ export function unitTest(
net: false,
env: false,
run: false,
plugin: false,
ffi: false,
hrtime: false,
}, options.perms),
};