diff --git a/CHANGELOG.md b/CHANGELOG.md index 2e2ceaa..2804aca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,12 +1,16 @@ # C/C++ Runner Change Log +## Version 9.4.7: Jan 20, 2024 + +- **Info**: Another bugfix for system architecture validation + ## Version 9.4.6: Jan 20, 2024 - **Info**: Bugfix for system architecture validation ## Version 9.4.5: Jan 19, 2024 -- **Info**: Hotfix for lldb debugger selection in launch.json file +- **Info**: Another hotfix for lldb debugger selection in launch.json file ## Version 9.4.4: Jan 19, 2024 diff --git a/package.json b/package.json index babf6b0..69650d3 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "c-cpp-runner", "displayName": "C/C++ Runner", "description": "🚀 Compile, run and debug single or multiple C/C++ files with ease. 🚀", - "version": "9.4.6", + "version": "9.4.7", "publisher": "franneck94", "license": "MIT", "icon": "icon.png", diff --git a/src/utils/systemUtils.ts b/src/utils/systemUtils.ts index cf1beb9..81d14a0 100644 --- a/src/utils/systemUtils.ts +++ b/src/utils/systemUtils.ts @@ -47,7 +47,10 @@ export function getCompilerArchitecture(compiler: string) { let architecture = Architectures.x64; let isCygwin = false; - if (str.toLowerCase().includes('arm')) { + if ( + str.toLowerCase().includes('arm') || + str.toLowerCase().includes('aarch') + ) { architecture = Architectures.ARM64; } else if (str.includes('64')) { architecture = Architectures.x64;