mirror of
https://github.com/denoland/deno.git
synced 2025-08-04 02:48:24 +00:00
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:
parent
0d1a522a03
commit
33c8d790c3
44 changed files with 860 additions and 511 deletions
|
@ -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),
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue