Giter Club home page Giter Club logo

rust's People

Contributors

bnb avatar mattetti avatar rylev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

rust's Issues

Updating or archiving this repo?

๐Ÿ‘‹ Hi @rylev, @mattetti, and @bnb - thanks so much for creating this repo! I'm a PM on the VS Code team working on things like dev containers, and it's always fantastic seeing more examples of dev containers and Codespaces ๐Ÿš€.

This repo is the top result for internet searches like "Codespaces rust template." I see it's been some time since it was updated, as it mentions a few things that have since changed, i.e. VS Codespaces is now just part of GitHub Codespaces and not a separate product or signup process, and the Remote-Containers extension has been renamed to Dev Containers.

As this is a top search result, I'd love to understand any potential plans for this repo. Would you be interested in me contributing a PR to update the content and/or link to other dev container examples, like https://github.com/microsoft/vscode-remote-try-rust and https://github.com/codespaces/templates? Or would you be interested in potentially archiving this repo if you're no longer interested in maintaining it?

Please let me know however I can help or provide more information. Thank you again!

rustup+cargo: command not found on container rebuild

When I rebuild a container based on the template I have these errors in creation log:

2022-01-11T18:08:19:  => [4/4] RUN bash ./setup.sh                                            109.7s
2022-01-11T18:08:19:  => => # ./setup.sh: line 17: rustup: command not found                        
2022-01-11T18:08:19:  => => # ./setup.sh: line 18: rustup: command not found                        
2022-01-11T18:08:19:  => => # ./setup.sh: line 19: rustup: command not found                        
2022-01-11T18:08:19:  => => # ./setup.sh: line 20: rustup: command not found                        
2022-01-11T18:08:19:  => => # ./setup.sh: line 22: cargo: command not found                         
2022-01-11T18:08:19:  => => # ./setup.sh: line 23: cargo: command not found   

Can't use locally using VSCode Remote Container extension

Hi @rylev ๐Ÿ˜ƒ

I tried to use this great template to boot a Rust environment locally in a container (I'm a Rust newbie and wanted to use the same template as you!)

I installed the Remote Containers extension and chose "Remote-Containers: Open repository in Container" (chose create a unique volume), then chose codespaces-examples/rust as repo. I then added a .rs file to start coding but received an error message saying that rust-analyzer failed to discover workspace.
Looking at the Rust Analyzer Language server logs, I noticed a bit more information: Error: LspError { code: -32900, message: "Rust file outside current workspace is not supported yet." }

Would you know a way around this issue by any chance? Did I do something wrong?
I'm under the impression that the newly created file is mounted in the container and available in the workspace so maybe there is something that needs to be tweaked in the codespace settings, extension or it's a bug in the analyzer/vscode integration?

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.