diff options
Diffstat (limited to 'ext/ffi/lib.rs')
-rw-r--r-- | ext/ffi/lib.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/ffi/lib.rs b/ext/ffi/lib.rs index e9ce2ec2e..8a1227ed9 100644 --- a/ext/ffi/lib.rs +++ b/ext/ffi/lib.rs @@ -82,8 +82,7 @@ pub(crate) struct FfiState { } pub fn init<P: FfiPermissions + 'static>(unstable: bool) -> Extension { - Extension::builder(env!("CARGO_PKG_NAME")) - .dependencies(vec!["deno_web"]) + Extension::builder_with_deps(env!("CARGO_PKG_NAME"), &["deno_web"]) .esm(include_js_files!("00_ffi.js",)) .ops(vec![ op_ffi_load::decl::<P>(), |