File tree 2 files changed +7
-0
lines changed
compiler/plugin/proc_macro
2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -68,6 +68,7 @@ impl SharedLibraryProvider for Package {
68
68
69
69
fn prebuilt_lib_path ( & self ) -> Option < Utf8PathBuf > {
70
70
let target_triple = target ! ( ) ;
71
+ dbg ! ( target_triple) ;
71
72
72
73
let prebuilt_name = format ! (
73
74
"{name}_v{version}_{target}{suffix}" ,
@@ -83,6 +84,7 @@ impl SharedLibraryProvider for Package {
83
84
. join ( "scarb" )
84
85
. join ( "cairo-plugin" )
85
86
. join ( prebuilt_name) ;
87
+ dbg ! ( prebuilt_path) ;
86
88
87
89
prebuilt_path. exists ( ) . then_some ( prebuilt_path)
88
90
}
Original file line number Diff line number Diff line change @@ -816,7 +816,11 @@ pub fn generate_cairo_plugin_compilation_units(
816
816
// Whether loading a prebuilt library is both allowed and requested.
817
817
load_prebuilt : bool ,
818
818
) -> Result < ProcMacroCompilationUnit > {
819
+ dbg ! ( member. id) ;
820
+ dbg ! ( load_prebuilt) ;
819
821
let load_prebuilt = load_prebuilt && member. prebuilt_lib_path ( ) . is_some ( ) ;
822
+ dbg ! ( member. prebuilt_lib_path( ) ) ;
823
+ dbg ! ( member. prebuilt_lib_path( ) . is_some( ) ) ;
820
824
let prebuilt = load_prebuilt
821
825
. then_some (
822
826
ProcMacroInstance :: try_load_prebuilt ( member. clone ( ) )
@@ -827,6 +831,7 @@ pub fn generate_cairo_plugin_compilation_units(
827
831
. map ( Arc :: new) ,
828
832
)
829
833
. flatten ( ) ;
834
+ dbg ! ( prebuilt. is_some( ) ) ;
830
835
let components = vec ! [ CompilationUnitComponent :: try_new(
831
836
member. clone( ) ,
832
837
vec![ member
You can’t perform that action at this time.
0 commit comments