GithubHelp home page GithubHelp logo

doytsujin / reference Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rust-lang/reference

0.0 1.0 0.0 3.64 MB

The Rust Reference

Home Page: https://doc.rust-lang.org/nightly/reference/

License: Apache License 2.0

Rust 46.12% CSS 11.39% HTML 42.49%

reference's Introduction

The Rust Language Reference

This document is the primary reference for the Rust programming language.

This document is not normative. It may include details that are specific to rustc itself, and should not be taken as a specification for the Rust language. We intend to produce such a document someday, but this is what we have for now.

Dependencies

  • rustc (the Rust compiler).
  • mdbook (use cargo install mdbook to install it).
  • rust nightly (you would be required to set your Rust version to the nightly version to make sure all tests pass)

Build steps

To build the project, follow the steps given below :

Clone the project by downloading the ZIP from the GitHub page or run the following command:

git clone https://github.com/rust-lang/reference

Change the directory to the downloaded repository:

cd reference

To run the tests, you would need to set the Rust version to the nightly release. You can do this by executing the following command:

rustup override set nightly

This will set the nightly version only for your the current project.

If you wish to set Rust nightly for all your projects, you can run the command:

rustup default nightly

Now, run the following command to test the code snippets to catch compilation errors:

mdbook test

To generate a local instance of the book, run:

mdbook build

The generated HTML will be in the book folder.

reference's People

Contributors

ehuss avatar havvy avatar steveklabnik avatar matthewjasper avatar centril avatar brauliobz avatar ralfjung avatar mattheww avatar tshepang avatar oli-obk avatar alercah avatar petrochenkov avatar chorman0773 avatar alexcrichton avatar frewsxcv avatar johntitor avatar quietmisdreavus avatar tlyu avatar amanieu avatar gnzlbg avatar nikomatsakis avatar mark-i-m avatar aloearev avatar crlf0710 avatar lcnr avatar manishearth avatar mbrubeck avatar mrhota avatar radicalzephyr avatar cchiw avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.