VSCode-Extension: Download lldb built for ubuntu 20.04 (#2139)

This should allow users to use the vscode extension on ubuntu 20.04.

After https://github.com/bytecodealliance/wasm-micro-runtime/pull/2132 ,
our lldb binary for 20.04 works on ubuntu 22.04 as well.

On the other hand, lldb for 22.04 has no chance to work on ubuntu 20.04.
(because of glibc version requirement.)
This commit is contained in:
YAMAMOTO Takashi 2023-04-23 15:33:52 +09:00 committed by GitHub
parent 7e9bf9cdf5
commit 8abb153546
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,7 +18,7 @@ const LLDB_RESOURCE_DIR = 'resource/debug';
const LLDB_OS_DOWNLOAD_URL_SUFFIX_MAP: Partial<
Record<NodeJS.Platform, string>
> = {
linux: 'x86_64-ubuntu-22.04',
linux: 'x86_64-ubuntu-20.04',
darwin: 'universal-macos-latest',
};