Skip to content

Commit 9e1f8e0

Browse files
authored
Add llvm21 to PATH (#1017)
I'm using Workbench in a Flatpak, but it doesn't compile Rust projects, even though I've granted it the network permission via Flatseal and I've added the extensions that Workbench instructed me to: - org.freedesktop.Sdk.Extension.llvm21 - org.freedesktop.Sdk.Extension.rust-stable On line 83 of `src/Extensions/Extensions.js`, the version of LLVM used to compile Rust projects is set to `llvm21`. However, the script to actually add the LLVM extension to $PATH tries to add `llvm11` instead. Until the fix is committed, a user can add the LLVM extension directory to the flatpak's path via an override: ``` flatpak override --user \ --env=PATH=/usr/lib/sdk/llvm21/bin:/usr/lib/sdk/rust-stable/bin:/app/bin:/usr/bin \ re.sonny.Workbench ```
1 parent aae11be commit 9e1f8e0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/workbench

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export PKG_CONFIG_PATH=/app/lib/pkgconfig/:$PKG_CONFIG_PATH
77

88
source /usr/lib/sdk/rust-stable/enable.sh 2> /dev/null
99
source /usr/lib/sdk/vala/enable.sh 2> /dev/null
10-
source /usr/lib/sdk/llvm11/enable.sh 2> /dev/null
10+
source /usr/lib/sdk/llvm21/enable.sh 2> /dev/null
1111
source /usr/lib/sdk/node24/enable.sh 2> /dev/null
1212

1313
## enabling the typescript extension

0 commit comments

Comments
 (0)