Skip to content

ShunichirouKamino/rust-sandbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rust-sandbox

Settings

rustup component add rust-src
rustup component add rust-analysis
rustup component add rls

Hello World!

  • $ cargo new hello_world
  • $ cd hello_world/src
  • $ rustc main.rs
  • $ ./main
Hello, world!
  • $ cargo run

Version

ARG VARIANT="buster"
FROM mcr.microsoft.com/vscode/devcontainers/rust:0-${VARIANT}

Remote Container

Admin

  • Open command palette
    • Remote-Containes: Add Development Container Configuration Files...
    • Rust
    • buster
      • GitHub CLI

Developers

  • Open a Remote Window
    • Add Proxy config to .devcontainer/devcontainer.json
	"build": {
		"dockerfile": "Dockerfile",
		"args": {
			"VARIANT": "buster",
			"PROXY": "http://xxxx:8080" // here
		}
	},
  • Reopen in Container

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published