Skip to content

Commit

Permalink
Disable hot reload tests for AOT configurations (#64006)
Browse files Browse the repository at this point in the history
  • Loading branch information
radical authored Jan 19, 2022
1 parent 675c167 commit 6f8d8b2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ internal static bool CheckSupportedMonoConfiguration()
{
// check that interpreter is enabled, and the build has hot reload capabilities enabled.
var isInterp = RuntimeFeature.IsDynamicCodeSupported && !RuntimeFeature.IsDynamicCodeCompiled;
return isInterp && HasApplyUpdateCapabilities();
return isInterp && !PlatformDetection.IsMonoAOT && HasApplyUpdateCapabilities();
}

internal static bool HasApplyUpdateCapabilities()
Expand Down

0 comments on commit 6f8d8b2

Please sign in to comment.