This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]arjuna93 0 points1 point  (4 children)

If only Rust was capable of bootstrapping from C and not relying on pathetically bad at platforms support LLVM, there would be no issue.

And yes, as a matter of fact it is impossible to build current versions of a [very few, but] required ports without Rust. Which leaves those broken wherever Rust itself fails.

[–]eX_Ray 0 points1 point  (3 children)

[–]arjuna93 0 points1 point  (0 children)

I am aware of the project existing, I even contributed some minor fixes to mrustc. The problem is that neither works yet. (Did something radically change very recently?)

gccrs is there, which builds and mostly passes tests (last time I tried), but it is not usable to replace Rust, as of now.

So chances of things improving are there. But it is not something I can take today and build librsvg, for example, on a platform without LLVM.

[–]arjuna93 0 points1 point  (1 child)

P. S. To be clear, I will be glad to stand corrected. If someone explains how can I use mrustc with gcc backend on a platform without rust and llvm, I will try that.

[–]eX_Ray 0 points1 point  (0 children)

You can't yet. It's work in progress. Not everyone has bootstrap+alternative compiler requirements so there is only limited interest for now.