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 出现上述显示,则安装完成..环境搭建完成.

  • 相关阅读:
    [转载]数据类型和Json格式 Joe
    为页面去掉下划线
    基于Spring,struts,hibernate的JYazd仿yazd及jivejdon
    tomcat下建立虚拟目录
    用例建模指南
    王老师好,学生请教个设计上的问题
    博客第一个处女作,顺便测试一下
    自定义可以和with一起工作的类
    boost cpu_timer
    静态初始化的相依性
  • 原文地址:https://www.cnblogs.com/nightwindnw/p/Rustlings_go.html
Copyright © 2011-2022 走看看