flathub/org.freedesktop.Sdk.Extension.rust-stable

expecting 1.36.0, got 1.34.2

ctaggart opened this issue · 1 comments

Similar to #6, I'm not getting the most recent version, 1.36.0. I'm getting 1.34.2 installed.

I'm a newbie and had to google to figure out how to get this installed. May be I did something wrong:

flatpak --user install org.freedesktop.Sdk.Extension.rust-stable
Looking for matches…
Found similar ref(s) for ‘org.freedesktop.Sdk.Extension.rust-stable’ in remote ‘flathub’ (user).
Use this remote? [Y/n]: 
Similar refs found for ‘org.freedesktop.Sdk.Extension.rust-stable’ in remote ‘flathub’ (user):

   1) runtime/org.freedesktop.Sdk.Extension.rust-stable/x86_64/18.08
   2) runtime/org.freedesktop.Sdk.Extension.rust-stable/x86_64/1.6

Which do you want to use (0 to abort)? [0-2]: 1

https://github.com/flathub/org.freedesktop.Sdk.Extension.rust-stable


Which do you want to use (0 to abort)? [0-2]: 1


        ID                                                  Arch            Branch          Remote           Download
 1.     org.freedesktop.Sdk.Extension.rust-stable           x86_64          18.08           flathub          < 206.9 MB


flatpak run --command=sh --devel org.octave.Octave

/usr/lib/sdk/rust-stable/bin/rustc --version
rustc 1.34.2

This extension is for org.freedesktop.Sdk//1.6

$ flatpak run --command=bash org.freedesktop.Sdk//1.6
[📦 org.freedesktop.Sdk ~]$ /usr/lib/sdk/rust-stable/bin/rustc --version
rustc 1.36.0 (a53f9df32 2019-07-03)

The 18.08 has this extension inside, so to get the last rust in the freedesktop 18.08 you should install the unstable version or wait for the next release.

Another option is to use the 1.6 version of the Sdk, there you'll have the 1.36.0 rust but older system libraries.