You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
skipLineIfHasNext(scanner, "M_X64=100"); // _M_X64 is defined
163
-
skipLineIfHasNext(scanner, "M_ARM64EC=_M_ARM64EC"); // _M_ARM64EC is not defined
162
+
try {
163
+
skipLineIfHasNext(scanner, "M_X64=100"); // _M_X64 is defined
164
+
skipLineIfHasNext(scanner, "M_ARM64EC=_M_ARM64EC"); // _M_ARM64EC is not defined
165
+
} catch (NoSuchElementExceptione) {
166
+
throwUserError.abort("Native Image on Windows currently only supports target architecture: %s", AMD64.class.getSimpleName());
167
+
}
164
168
if (scanner.findInLine("MSC_FULL_VER=") == null) {
165
169
returnnull;
166
170
}
@@ -195,11 +199,6 @@ protected void verify() {
195
199
UserError.abort("On Windows, GraalVM Native Image for JDK %s requires %s or later (C/C++ Optimizing Compiler Version %s.%s or later).%nCompiler info detected: %s",
0 commit comments