File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -792,14 +792,14 @@ impl Engine {
792792 #[ allow( dead_code) ]
793793 pub ( crate ) fn collect_fn_metadata_impl < T > (
794794 & self ,
795- ctx : Option < & NativeCallContext > ,
795+ _ctx : Option < & NativeCallContext > ,
796796 mapper : impl Fn ( crate :: module:: FuncInfo ) -> Option < T > + Copy ,
797797 include_standard_packages : bool ,
798798 ) -> Vec < T > {
799799 let mut list = Vec :: new ( ) ;
800800
801801 #[ cfg( not( feature = "no_function" ) ) ]
802- if let Some ( ctx) = ctx {
802+ if let Some ( ctx) = _ctx {
803803 ctx. iter_namespaces ( )
804804 . flat_map ( Module :: iter_fn)
805805 . filter_map ( |( func, f) | {
@@ -829,7 +829,7 @@ impl Engine {
829829 . for_each ( |v| list. push ( v) ) ;
830830
831831 #[ cfg( not( feature = "no_module" ) ) ]
832- if let Some ( ctx) = ctx {
832+ if let Some ( ctx) = _ctx {
833833 use crate :: engine:: NAMESPACE_SEPARATOR ;
834834 use crate :: SmartString ;
835835
Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ fn check_struct_sizes() {
7272 assert_eq ! (
7373 size_of:: <FnPtr >( ) ,
7474 48 - if cfg!( feature = "no_function" ) {
75- WORD_SIZE
75+ 2 * WORD_SIZE
7676 } else {
7777 0
7878 }
You can’t perform that action at this time.
0 commit comments