@@ -342,8 +342,10 @@ mod tests {
342342 use super :: * ;
343343
344344 #[ test]
345- // unsupported operation: can't call foreign function `OPENSSL_init_ssl` on OS `linux`
346- #[ cfg_attr( miri, ignore) ]
345+ #[ cfg_attr(
346+ miri,
347+ ignore = "unsupported operation: can't call foreign function `OPENSSL_init_ssl` on OS `linux`"
348+ ) ]
347349 fn find_cargo_toml ( ) {
348350 let temp_dir = tempfile:: TempDir :: with_prefix ( "cot-test-" ) . unwrap ( ) ;
349351 test_utils:: make_package ( temp_dir. path ( ) ) . unwrap ( ) ;
@@ -354,8 +356,10 @@ mod tests {
354356 }
355357
356358 #[ test]
357- // unsupported operation: can't call foreign function `OPENSSL_init_ssl` on OS `linux`
358- #[ cfg_attr( miri, ignore) ]
359+ #[ cfg_attr(
360+ miri,
361+ ignore = "unsupported operation: can't call foreign function `OPENSSL_init_ssl` on OS `linux`"
362+ ) ]
359363 fn find_cargo_toml_recursive ( ) {
360364 let temp_dir = tempfile:: tempdir ( ) . unwrap ( ) ;
361365 let nested_dir = temp_dir. path ( ) . join ( "nested" ) ;
@@ -373,8 +377,10 @@ mod tests {
373377 }
374378
375379 #[ test]
376- // unsupported operation: can't call foreign function `OPENSSL_init_ssl` on OS `linux`
377- #[ cfg_attr( miri, ignore) ]
380+ #[ cfg_attr(
381+ miri,
382+ ignore = "unsupported operation: can't call foreign function `OPENSSL_init_ssl` on OS `linux`"
383+ ) ]
378384 fn load_valid_virtual_workspace_manifest ( ) {
379385 let cot_cli_root = env ! ( "CARGO_MANIFEST_DIR" ) ;
380386 let cot_root = Path :: new ( cot_cli_root) . parent ( ) . unwrap ( ) ;
@@ -390,8 +396,10 @@ mod tests {
390396 }
391397
392398 #[ test]
393- // unsupported operation: can't call foreign function `OPENSSL_init_ssl` on OS `linux`
394- #[ cfg_attr( miri, ignore) ]
399+ #[ cfg_attr(
400+ miri,
401+ ignore = "unsupported operation: can't call foreign function `OPENSSL_init_ssl` on OS `linux`"
402+ ) ]
395403 fn load_valid_workspace_from_package_manifest ( ) {
396404 let temp_dir = tempfile:: TempDir :: with_prefix ( "cot-test-" ) . unwrap ( ) ;
397405 let package_name = temp_dir. path ( ) . file_name ( ) . unwrap ( ) . to_str ( ) . unwrap ( ) ;
@@ -421,8 +429,10 @@ mod tests {
421429 }
422430
423431 #[ test]
424- // unsupported operation: can't call foreign function `OPENSSL_init_ssl` on OS `linux`
425- #[ cfg_attr( miri, ignore) ]
432+ #[ cfg_attr(
433+ miri,
434+ ignore = "unsupported operation: can't call foreign function `OPENSSL_init_ssl` on OS `linux`"
435+ ) ]
426436 fn load_valid_workspace_from_workspace_manifest ( ) {
427437 let temp_dir = tempfile:: TempDir :: with_prefix ( "cot-test-" ) . unwrap ( ) ;
428438 test_utils:: make_workspace_package ( temp_dir. path ( ) , 3 ) . unwrap ( ) ;
@@ -446,8 +456,10 @@ mod tests {
446456 }
447457
448458 #[ test]
449- // unsupported operation: can't call foreign function `OPENSSL_init_ssl` on OS `linux`
450- #[ cfg_attr( miri, ignore) ]
459+ #[ cfg_attr(
460+ miri,
461+ ignore = "unsupported operation: can't call foreign function `OPENSSL_init_ssl` on OS `linux`"
462+ ) ]
451463 fn load_valid_package_manifest ( ) {
452464 let temp_dir = tempfile:: TempDir :: with_prefix ( "cot-test-" ) . unwrap ( ) ;
453465 let package_name = temp_dir. path ( ) . file_name ( ) . unwrap ( ) . to_str ( ) . unwrap ( ) ;
@@ -467,8 +479,10 @@ mod tests {
467479 }
468480
469481 #[ test]
470- // unsupported operation: can't call foreign function `OPENSSL_init_ssl` on OS `linux`
471- #[ cfg_attr( miri, ignore) ]
482+ #[ cfg_attr(
483+ miri,
484+ ignore = "unsupported operation: can't call foreign function `OPENSSL_init_ssl` on OS `linux`"
485+ ) ]
472486 fn load_valid_package_manifest_current_dir ( ) {
473487 let temp_dir = tempfile:: TempDir :: with_prefix ( "cot-test-" ) . unwrap ( ) ;
474488 let package_name = temp_dir. path ( ) . file_name ( ) . unwrap ( ) . to_str ( ) . unwrap ( ) ;
@@ -499,8 +513,10 @@ mod tests {
499513 use super :: * ;
500514
501515 #[ test]
502- // unsupported operation: can't call foreign function `OPENSSL_init_ssl` on OS `linux`
503- #[ cfg_attr( miri, ignore) ]
516+ #[ cfg_attr(
517+ miri,
518+ ignore = "unsupported operation: can't call foreign function `OPENSSL_init_ssl` on OS `linux`"
519+ ) ]
504520 fn get_root_manifest ( ) {
505521 let ( temp_dir, manager) = get_workspace ( 1 ) ;
506522 let manifest_path = temp_dir. path ( ) . join ( "Cargo.toml" ) ;
@@ -512,8 +528,10 @@ mod tests {
512528 }
513529
514530 #[ test]
515- // unsupported operation: can't call foreign function `OPENSSL_init_ssl` on OS `linux`
516- #[ cfg_attr( miri, ignore) ]
531+ #[ cfg_attr(
532+ miri,
533+ ignore = "unsupported operation: can't call foreign function `OPENSSL_init_ssl` on OS `linux`"
534+ ) ]
517535 fn get_package_manager ( ) {
518536 let ( _, manager) = get_workspace ( 2 ) ;
519537 let package_name = test_utils:: get_nth_crate_name ( 1 ) ;
@@ -537,8 +555,10 @@ mod tests {
537555 }
538556
539557 #[ test]
540- // unsupported operation: can't call foreign function `OPENSSL_init_ssl` on OS `linux`
541- #[ cfg_attr( miri, ignore) ]
558+ #[ cfg_attr(
559+ miri,
560+ ignore = "unsupported operation: can't call foreign function `OPENSSL_init_ssl` on OS `linux`"
561+ ) ]
542562 fn get_package_manager_by_path ( ) {
543563 let ( temp_dir, manager) = get_workspace ( 1 ) ;
544564 let package_name = test_utils:: get_nth_crate_name ( 1 ) ;
@@ -580,8 +600,10 @@ mod tests {
580600 use super :: * ;
581601
582602 #[ test]
583- // unsupported operation: can't call foreign function `OPENSSL_init_ssl` on OS `linux`
584- #[ cfg_attr( miri, ignore) ]
603+ #[ cfg_attr(
604+ miri,
605+ ignore = "unsupported operation: can't call foreign function `OPENSSL_init_ssl` on OS `linux`"
606+ ) ]
585607 fn get_package_name ( ) {
586608 let ( temp_dir, manager) = get_package ( ) ;
587609 let package_name = temp_dir. path ( ) . file_name ( ) . unwrap ( ) . to_str ( ) . unwrap ( ) ;
@@ -590,17 +612,21 @@ mod tests {
590612 }
591613
592614 #[ test]
593- // unsupported operation: can't call foreign function `OPENSSL_init_ssl` on OS `linux`
594- #[ cfg_attr( miri, ignore) ]
615+ #[ cfg_attr(
616+ miri,
617+ ignore = "unsupported operation: can't call foreign function `OPENSSL_init_ssl` on OS `linux`"
618+ ) ]
595619 fn get_package_path ( ) {
596620 let ( temp_dir, manager) = get_package ( ) ;
597621
598622 assert_eq ! ( manager. get_package_path( ) , temp_dir. path( ) ) ;
599623 }
600624
601625 #[ test]
602- // unsupported operation: can't call foreign function `OPENSSL_init_ssl` on OS `linux`
603- #[ cfg_attr( miri, ignore) ]
626+ #[ cfg_attr(
627+ miri,
628+ ignore = "unsupported operation: can't call foreign function `OPENSSL_init_ssl` on OS `linux`"
629+ ) ]
604630 fn get_manifest_path ( ) {
605631 let ( temp_dir, manager) = get_package ( ) ;
606632
@@ -611,8 +637,10 @@ mod tests {
611637 }
612638
613639 #[ test]
614- // unsupported operation: can't call foreign function `OPENSSL_init_ssl` on OS `linux`
615- #[ cfg_attr( miri, ignore) ]
640+ #[ cfg_attr(
641+ miri,
642+ ignore = "unsupported operation: can't call foreign function `OPENSSL_init_ssl` on OS `linux`"
643+ ) ]
616644 fn get_manifest ( ) {
617645 let ( temp_dir, manager) = get_package ( ) ;
618646 let manifest_path = temp_dir. path ( ) . join ( "Cargo.toml" ) ;
0 commit comments