Closed frehwagen closed 1 year ago
Could you try again? I updated rust-mos recently and it should work with current llvm-mos now
this works indeed. I still ran into #2 but I figured out what goes wrong there. Problem is that the default installation path for the target descriptions is /usr/local/rust-mos-targets/ which is only writeable by root. However I don't have rustup or rust installed as root so sudo ./create_mos_targets.py won't work because it will run rustc to get the target description. I worked around this by temporarily allowing my user to write to /usr/local/rust-mos-targets/, but probably there are better solutions.
Thank you for the write-up @p2mate. Unfortunately for me, I have given my user permission to write as well, yet issue #2 still persists for me.
Brilliant project, thx for it!
I'm trying to compile and use the rust-mos myself, which goes through successful as it seems but when trying to compile the hello-world project I see the following error:
I'm using the latest available llvm-mos and llvm-mos-sdk from the source repo.
Any idea what is going wrong?