File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -238,7 +238,8 @@ unsafe impl thin::SizeOfDebug for Malloc {
238238 #[ test] fn thin_alignment ( ) { thin:: test:: alignment ( AllocZst ( Malloc ) ) }
239239 #[ test] fn thin_edge_case_sizes ( ) { thin:: test:: edge_case_sizes ( AllocZst ( Malloc ) ) }
240240 #[ test] fn thin_nullable ( ) { thin:: test:: nullable ( AllocZst ( Malloc ) ) }
241- #[ test] fn thin_size ( ) { thin:: test:: size_exact_alloc_except_zsts ( AllocZst ( Malloc ) ) }
241+ #[ cfg( target_env = "msvc" ) ] #[ test] fn thin_size_msvc ( ) { thin:: test:: size_exact_alloc_except_zsts ( Malloc ) }
242+ #[ cfg( not( target_env = "msvc" ) ) ] #[ test] fn thin_size ( ) { thin:: test:: size_exact_alloc ( Malloc ) }
242243 #[ test] fn thin_uninit ( ) { if !MALLOC_ZERO_INITS { unsafe { thin:: test:: uninit_alloc_unsound ( AllocZst ( Malloc ) ) } } }
243244 #[ test] fn thin_uninit_realloc ( ) { thin:: test:: uninit_realloc ( AllocZst ( Malloc ) ) }
244245 #[ test] fn thin_zeroed ( ) { thin:: test:: zeroed_alloc ( AllocZst ( Malloc ) ) }
You can’t perform that action at this time.
0 commit comments