File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -37,8 +37,8 @@ export async function activate(context: vscode.ExtensionContext): Promise<CppToo
3737 await util . checkCuda ( ) ;
3838
3939 let errMsg : string = "" ;
40- const arch : string = os . arch ( ) ;
41- if ( arch !== 'x64' && ( process . platform !== 'win32' || ( arch !== 'ia32 ' && arch !== 'arm64' ) ) && ( process . platform !== 'linux' || ( arch !== 'x64' && arch !== 'arm' && arch !== 'arm64' ) ) && ( process . platform !== 'darwin' || arch !== 'arm64' ) ) {
40+ const arch : string = PlatformInformation . GetArchitecture ( ) ;
41+ if ( arch !== 'x64' && ( process . platform !== 'win32' || ( arch !== 'x86 ' && arch !== 'arm64' ) ) && ( process . platform !== 'linux' || ( arch !== 'x64' && arch !== 'arm' && arch !== 'arm64' ) ) && ( process . platform !== 'darwin' || arch !== 'arm64' ) ) {
4242 errMsg = localize ( "architecture.not.supported" , "Architecture {0} is not supported. " , String ( arch ) ) ;
4343 } else if ( process . platform === 'linux' && fs . existsSync ( '/etc/alpine-release' ) ) {
4444 errMsg = localize ( "apline.containers.not.supported" , "Alpine containers are not supported." ) ;
You can’t perform that action at this time.
0 commit comments