@@ -24,6 +24,23 @@ public sealed class TestWindowsTask : FrostingTask<BuildContext>
2424 "msvcrt.dll"
2525 } ;
2626
27+ // We need these when building for ARM64 they are part of the OS
28+ private static readonly string [ ] ValidURCTLibs = {
29+ "api-ms-win-crt-private-l1-1-0.dll" ,
30+ "api-ms-win-crt-stdio-l1-1-0.dll" ,
31+ "api-ms-win-crt-runtime-l1-1-0.dll" ,
32+ "api-ms-win-crt-environment-l1-1-0.dll" ,
33+ "api-ms-win-crt-time-l1-1-0.dll" ,
34+ "api-ms-win-crt-convert-l1-1-0.dll" ,
35+ "api-ms-win-crt-math-l1-1-0.dll" ,
36+ "api-ms-win-crt-heap-l1-1-0.dll" ,
37+ "api-ms-win-crt-string-l1-1-0.dll" ,
38+ "api-ms-win-crt-utility-l1-1-0.dll" ,
39+ "api-ms-win-crt-filesystem-l1-1-0.dll" ,
40+ "api-ms-win-crt-conio-l1-1-0.dll" ,
41+ "api-ms-win-crt-locale-l1-1-0.dll" ,
42+ } ;
43+
2744 public override bool ShouldRun ( BuildContext context ) => context . IsRunningOnWindows ( ) && ! context . ShouldSkipTest ;
2845
2946 public override void Run ( BuildContext context )
@@ -62,7 +79,7 @@ out IEnumerable<string> processOutput
6279 if ( ! libPath . EndsWith ( ".dll" ) || libPath . Contains ( ' ' ) )
6380 continue ;
6481
65- if ( ValidLibs . Contains ( libPath ) )
82+ if ( ValidLibs . Contains ( libPath ) || ValidURCTLibs . Contains ( libPath ) )
6683 {
6784 context . Information ( $ "VALID: { libPath } ") ;
6885 }
0 commit comments