Ways to Install Rust with lld

kk2ktr 40 Reputation points
2023-07-12T18:24:05.4233333+00:00
I want to learn a new programming language (rust). When I tried the instructions on the website, it took 17gb of space for rust, Windows S.D.K., build tools, c compilers, and addons. It seems like the space increases with each version. I researched for another lightweight way to install it and I found LLD from L.L.V.M. I do not know how to configure or which compiler I can run it on or how to configure that either. Please help.

Thank you in advance.

Windows for business | Windows Client for IT Pros | User experience | Other
Developer technologies | Visual Studio | Other
{count} votes

Accepted answer
  1. Tianyu Sun-MSFT 34,441 Reputation points Microsoft External Staff
    2023-07-13T06:40:23.9533333+00:00

    Hello @kk2ktr ,

    Welcome to Microsoft Q&A forum.

    Considering installing and using Visual Studio Code with some corresponding extensions and build tools to set up development environment for Rust may be easier. But if it’s indeed not possible in your scenario(e.g. you need a lightweight way to install it), and you want to use LLVM and lld, I may recommend also posting your question on LLVM/Rust related forums for better help.

    If you do want to use Visual Studio Code, you may check this document: Set up your dev environment on Windows for Rust or post your question here: Stack Overflow - Visual Studio Code, as Visual Studio Code is different from Visual Studio, and currently, VS Code(Technical Support) is not supported in the Microsoft Q&A forums.

    Thanks for your understanding, have a great day.

    Sincerely,

    Tianyu


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. S.Sengupta 24,551 Reputation points MVP
    2023-07-13T00:13:10.8933333+00:00

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.