GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - feixiao/learning-rust

BranchesTags
Open more actions menu

Latest commit

 

History

56 Commits
56 Commits

Folders and files

NameName
Last commit message
Last commit date
ProgrammingRust
ProgrammingRust
 
 
TheRustProgrammingLanguage
TheRustProgrammingLanguage
 
 
r4cppp @ c0f1944
r4cppp @ c0f1944
 
 
rCore-os
rCore-os
 
 
.gitmodules
.gitmodules
 
 
ReadMe.md
ReadMe.md
 
 
r4cppp.pdf
r4cppp.pdf
 
 

Repository files navigation

Rust 学习资料

常用操作

安装

  • 国内源加速

    echo '''
      export RUSTUP_DIST_SERVER=https://mirrors.ustc.edu.cn/rust-static
      export RUSTUP_UPDATE_ROOT=https://mirrors.ustc.edu.cn/rust-static/rustup
      export PATH="$HOME/.cargo/bin:$PATH"
      ''' >> ~/.profile
  • WSL

    sudo apt-get install build-essential
    source ~/.profile
    curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
    
    # 切换stable版本
    rustup update stable
  • Windows
    #用于更新 toolchain
    
    set RUSTUP_DIST_SERVER=https://mirrors.ustc.edu.cn/rust-static
    
    #用于更新 rustup
    
    set RUSTUP_UPDATE_ROOT=https://mirrors.ustc.edu.cn/rust-static/rustup
    
    # 运行rust-init.exe

更新和卸载

# 更新
rustup update
# 卸载
rustup self uninstall

cargo

  • 创建项目
cargo new hello_cargo
  • 编译和运行
cd hello_cargo

# 编译
cargo build

# 运行
cargo run

本地文档

rustup doc

IDE

  • Clion + Rust插件

内容概述

  • 《Rust 权威指南》代码
  • rust-by-example
  • bindgen Rust调用C/C++.

Rust写操作系统

  • 《rCore-Tutorial-Book-v3》

Rust in Android

  • 《Rust/C++ interop in the Android Platform》
  • 《cross-platform-rust》

Rust Audio

  • rodio

About

No description, website, or topics provided.

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.