File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -412,6 +412,23 @@ pub fn build_bundled(out_dir: &str, out_path: &Path) {
412
412
fn copy_multiple_ciphers ( out_path : & Path ) {
413
413
let dst = dbg ! ( build_multiple_ciphers( out_path) ) ;
414
414
415
+ let build_dir = dst. join ( "build" ) ;
416
+ if build_dir. exists ( ) {
417
+ println ! ( "cargo:warning=Build directory contents:" ) ;
418
+ for entry in std:: fs:: read_dir ( & build_dir) . unwrap ( ) {
419
+ let entry = entry. unwrap ( ) ;
420
+ println ! ( "cargo:warning= {:?}" , entry. path( ) ) ;
421
+
422
+ // If it's a directory, list its contents too
423
+ if entry. path ( ) . is_dir ( ) {
424
+ for sub_entry in std:: fs:: read_dir ( entry. path ( ) ) . unwrap ( ) {
425
+ let sub_entry = sub_entry. unwrap ( ) ;
426
+ println ! ( "cargo:warning= {:?}" , sub_entry. path( ) ) ;
427
+ }
428
+ }
429
+ }
430
+ }
431
+
415
432
println ! ( "cargo:rustc-link-lib=static=sqlite3mc_static" ) ;
416
433
println ! ( "cargo:rustc-link-search={}" , dst. join( "build" ) . display( ) ) ;
417
434
}
You can’t perform that action at this time.
0 commit comments