sailfishos / rust

3 stars 6 forks source link

Rust 1.75.0 #22

Closed rubdos closed 7 months ago

rubdos commented 10 months ago

Based on #21, but doesn't compile at all yet.

Plan:

It would be highly beneficial for Whisperfish to have 1.75, because I expect the Rust ecosystem to adapt the return position impl Trait in trait feature very rapidly.

Part of The Rust Plan

rubdos commented 9 months ago

To cite @direc85 in https://github.com/rubdos/sailfish-rust/pull/1, the remaining issue can be resolved in the spec file:

As it turned out, the bug is fixable in environment (Whisperfish .spec in my use case) instead:

export TMPDIR=$(realpath "%{_sourcedir}/.tmp")
mkdir -p $TMPDIR

So, it's a bug somewhere in Scratchbox instead -- closing this PR as redundant (and potentially harmful).

direc85 commented 8 months ago

I'm afraid my patch has a few extra lines that should be removed. I'm afk currently, but I'll check and fix that late this evening.