bombless/rustc-chinese


使用中文报错的 Rust 编译器

License: Other

Language: Rust


Rust 编程语言

这里是一个使用中文输出错误的 Rust 编译器, 包括标准库,工具,还有文档。 Rust 是一个高效、内存安全、并行的系统编程语言, 同时不使用一个垃圾收集器或其他强加的大的运行时负担。

从源码编译

  1. 确保你已经安装了以下依赖:

    • g 4.7 或 clang 3.x
    • python 2.6 或更新 (但不能是 3.x)
    • GNU make 3.81 或更新
    • curl
    • git
  2. git 克隆 源码

    $ git clone https://github.com/bombless/rustc-chinese.git
    $ cd rust
  3. 构建并安装:

    $ ./configure
    $ make && make install

在 Windows 上构建

可以用 MSYS2 来轻松构建本项目:

  1. 拿到最新的 MSYS2 安装程序并安装。

  2. 从 MSYS2 控制台安装 mingw64 工具链及其他需要的工具。

    # 工具平台选一个
    $ pacman -S mingw-w64-i686-toolchain
    $ pacman -S mingw-w64-x86_64-toolchain
    
    $ pacman -S base-devel
  3. 根据你想要 32 位或 64 位 Rust 从 MSYS2 安装目录运行 mingw32_shell.batmingw64_shell.bat

  4. 转到源码路径,配置并构建

    $ ./configure
    $ make && make install

获得帮助

Rust 中文社区的人们在几个地方聚集:

License

Rust is primarily distributed under the terms of both the MIT license and the Apache License (Version 2.0), with portions covered by various BSD-like licenses.

See LICENSE-APACHE, LICENSE-MIT, and COPYRIGHT for details.

Project Statistics

Sourcerank 5
Repository Size 304 MB
Stars 4
Forks 0
Watchers 1
Open issues 1
Dependencies 0
Contributors 458
Tags 0
Created
Last updated
Last pushed

Top Contributors See all

bors Brian Anderson Alex Crichton Patrick Walton Graydon Hoare Niko Matsakis Tim Chevalier Marijn Haverbeke Manish Goregaokar Daniel Micay Huon Wilson Erick Tryzelaar Steve Klabnik Felix S Klock II Michael J. Sullivan Eric Holk ember arlynx Ben Blum Luqman Aden John Clements

Something wrong with this page? Make a suggestion

Last synced: 2016-12-15 04:47:41 UTC

Login to resync this repository