-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Hi! This is kind-of a continuation of the derailed discussion of #11.
I've finally been able to build rust.spec (now with Rust 1.51), and I have a few questions and proposals.
First a few observations:
- The current version of this package can be built for three architectures. However, only on x86/i486 this yields an actual package; on aarch64/armv7hl this produces a stub that says "This is the stub rustc. If you see this, scratchbox2 is not working".
- The version
-git3(rust-1.44.0+git3-1.2.3.jolla.armv7hl) is what gets shipped in the Application SDK. Until that version (in fact, untilgit5/31dd484), therust.specin here produced an actualrustc/cargothat worked in sb2 for emulated building of applications. That commit changed this behaviour to produce stubs, and changed the paradigm fromsb2-building to Platform SDK cross compiling. - This repository still contains the
0006-Provide-ENV-controls-to-bypass-some-sb2-calls-betwee.patchpatch that makes it possible to compile arustcthat runs insb2.
Now a few questions:
- Are my observations correct?
- Where is Jolla headed with this package? Are you targeting the Application SDK or the Platform SDK, or both?
- What will become of the Application SDK Rust package, will this be abandoned and be a forever
1.44+git3, or will this eventually get an update? - This thing was really painful to build. As in: I have never felt that enraged and emotional about a piece of software since I left MS Windows when I was 15. That's ten years ago. I will open a merge request with build instructions, let's document this thing together, and keep the documentation in sync.
- I still would like to get rid of the crappy build "system" that I use for Whisperfish, in favour of something mainstream, i.e., I want to build Whisperfish in
sfdk, ideally, or in Platform SDK if necessary. The former is preferred (because there's a ton of invokinggccthat I don't want to cross build anymore). How can I help Jolla to get Rust as a tier-1 language for SailfishOS, at least as a compiler for stupid CLI applications?
Best regards,
Ruben
Metadata
Metadata
Assignees
Labels
No labels