Commit 9e1f8e0
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
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
0 commit comments