From 49af1ab18da02f09e65506c873526c40d005c4ed Mon Sep 17 00:00:00 2001 From: Leo Kettmeir Date: Tue, 7 Feb 2023 22:09:50 +0100 Subject: refactor: remove prefix from include_js_files & use extension name (#17683) --- ext/ffi/lib.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'ext/ffi') diff --git a/ext/ffi/lib.rs b/ext/ffi/lib.rs index 0034a0d33..a14a28a83 100644 --- a/ext/ffi/lib.rs +++ b/ext/ffi/lib.rs @@ -84,10 +84,7 @@ pub(crate) struct FfiState { pub fn init(unstable: bool) -> Extension { Extension::builder(env!("CARGO_PKG_NAME")) - .esm(include_js_files!( - prefix "internal:ext/ffi", - "00_ffi.js", - )) + .esm(include_js_files!("00_ffi.js",)) .ops(vec![ op_ffi_load::decl::

(), op_ffi_get_static::decl(), -- cgit v1.2.3