Compare commits

..

No commits in common. "stable" and "f41" have entirely different histories.

View file

@ -1,11 +1,11 @@
flatpak:
id: org.fedoraproject.Sdk.Extension.rust-stable
branch: f44
branch: f41
build-extension: true
runtime: org.fedoraproject.Sdk
runtime-version: f44
runtime-version: f41
sdk: org.fedoraproject.Sdk
name: f44/rust
name: f41/rust
component: rust-flatpak
packages:
- rust
@ -35,15 +35,16 @@ flatpak:
- name: rust-std-static-x86_64-unknown-uefi
platforms:
only: [x86_64]
- rust-flatpak-config
# for cleanup-commands (part of runtime)
- coreutils-single
cleanup-commands: |
mkdir -p /app/bin /app/lib/ /app/share/licenses
mv /usr/bin/{cargo,clippy,ld.mold,mold,rust}* /app/bin/
mv /usr/bin/{cargo,clippy,ld.mold,mold,rust,rls}* /app/bin/
mv /usr/lib/rustlib/ /app/lib/
mv /usr/lib64/librustc_driver-*.so /app/lib/
mv /usr/lib64/lib{LLVM,git2,llhttp,ssh2}* /app/lib/
mv /usr/lib64/lib{blake3,mimalloc,tbb}* /app/lib/
mv /usr/share/cargo/ /app/share/
mv /usr/share/licenses/{cargo,clippy,rust}* /app/share/licenses/
echo -e "#!/bin/sh\nexport PATH=\$PATH:/usr/lib/sdk/rust-stable/bin" > /app/enable.sh
chmod +x /app/enable.sh