mirror of
https://github.com/denoland/deno.git
synced 2025-08-04 10:59:13 +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
|
@ -115,6 +115,8 @@ impl MainWorker {
|
|||
),
|
||||
deno_webgpu::init(options.unstable),
|
||||
deno_timers::init::<Permissions>(),
|
||||
// ffi
|
||||
deno_ffi::init::<Permissions>(options.unstable),
|
||||
// Metrics
|
||||
metrics::init(),
|
||||
// Runtime ops
|
||||
|
@ -127,7 +129,6 @@ impl MainWorker {
|
|||
deno_net::init::<Permissions>(options.ca_data.clone(), options.unstable),
|
||||
ops::os::init(),
|
||||
ops::permissions::init(),
|
||||
ops::plugin::init(),
|
||||
ops::process::init(),
|
||||
ops::signal::init(),
|
||||
ops::tty::init(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue