Skip to content

Commit

Permalink
g3
Browse files Browse the repository at this point in the history
  • Loading branch information
jp2masa committed Jul 29, 2017
1 parent eb0befb commit 16caea9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions source/Cosmos.IL2CPU/AppAssemblerRingsCheck.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@
namespace Cosmos.IL2CPU {
public static class AppAssemblerRingsCheck {
private static bool IsAssemblySkippedDuringRingCheck(Assembly assembly) {
// Yeah, I know... till g3 done...
return true;
if (CompilerEngine.UseGen3Kernel)
{
return true;
}

var xServicable = assembly.GetCustomAttributes<AssemblyMetadataAttribute>().Where(x => x.Key == "Serviceable").SingleOrDefault();
var xNetFrameworkAssembly = assembly.GetCustomAttributes<AssemblyMetadataAttribute>().Where(x => x.Key == ".NETFrameworkAssembly").SingleOrDefault();
Expand Down

0 comments on commit 16caea9

Please sign in to comment.