zoukankan      html  css  js  c++  java
  • Rustlings_go

    练习过程中的随手记, 主要为自己,..分享出来,若能帮助大家,意外乐趣

    最近闲来无事,看了看Rust,做下rustlings玩一玩.

    练习环境

    • 操作系统:Windows10 2004
    • Rust版本: 用rustup安装的当前20200611最新Rust nightly版本
    • 编辑器: VSCode
    • 其它:Git

    安装Rustlings

    git clone https://github.com/rust-lang/rustlings
    cd rustlings
    git checkout tags/3.0.0 # or whatever the latest version is (find out at https://github.com/rust-lang/rustlings/releases/latest)
    cargo install --force --path .
    

    结尾

    $>rustlings
    
           welcome to...
                     _   _ _
      _ __ _   _ ___| |_| (_)_ __   __ _ ___
     | '__| | | / __| __| | | '_  / _` / __|
     | |  | |_| \__  |_| | | | | | (_| \__ 
     |_|   \__,_|___/\__|_|_|_| |_|\__, |___/
                                   |___/
    
    Thanks for installing Rustlings!
    
    Is this your first time?
    
    Let's make sure you're up to speed:
    - You have Rust installed, preferably via `rustup`
    - You have `~/.cargo/bin` added to your PATH variable
    - You have cloned this repository (https://github.com/rust-lang/rustlings)
    - You have installed Rust language support for your editor
    - You have locally installed the `rustlings` command by running an
      installation script or manually executing:
    
    cargo install --force --path .
    
    If you've done all of this (or even most of it), congrats! You're ready
    to start working with Rust.
    
    To get started, run `rustlings watch` in order to get the first exercise.
    Make sure to have your editor open!
    
    

    若执行 rustlings 出现上述显示,则安装完成..环境搭建完成.

  • 相关阅读:
    Python randrange() 函数
    200行Python代码实现2048
    select默认下拉箭头改变、option样式清除
    图片垂直居中
    去除select边框和三角-----appearance:none
    原生 js 实现点击按钮复制文本
    This dependency was not found: * !!vue-style-loader!css-loader?……解决方案
    vue项目启动时将localhost替换成指定ip地址
    安装cnpm
    vue 项目要使用的库
  • 原文地址:https://www.cnblogs.com/nightwindnw/p/Rustlings_go.html
Copyright © 2011-2022 走看看