Coder Social home page Coder Social logo

zzeroo / too-many-lists Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rust-unofficial/too-many-lists

0.0 1.0 0.0 1.11 MB

Learn Rust by writing Entirely Too Many linked lists

Home Page: http://cglab.ca/~abeinges/blah/too-many-lists/book/

License: MIT License

Rust 73.37% CSS 26.63%

too-many-lists's Introduction

Learn Rust by writing Entirely Too Many linked lists

Read the pretty version at http://cglab.ca/~abeinges/blah/too-many-lists/book/

Building

Building requires an instance of rustbook be set up on your machine.

A mirror of the rustbook code can be found here. This requires a nightly version of the Rust compiler, as well as Cargo:

cd rustbook/
cargo build --release

Once built, the binary can be found at rustbook/target/release/rustbook.


If that doesn't work (#13), rustbook can also be built as part of rustc. Here's instructions for building Rust from source.

However it needs to be a slight deviation from the normal process:

  • You should do ./configure --enable-rpath instead of ./configure
  • You don't need to install (I don't think rustbook will use that -- although maybe I'm wrong and make install will install rustbook too -- happy to be wrong!)

Once built, rustbook will be somewhere deep in the build target directories. This is a bit platform-specific, to be honest. On my machine it's at x86_64-apple-darwin/stage2/bin/rustbook. The x86_64-apple-darwin bit is the really platform specific part, where I hope you can guess what your platform will sort of look like. On windows you may need to look in stage3.

Now just copy or link rustbook to be somewhere on your path.


Once you have the rustbook binary, you just need to do:

cd too-many-lists/
rm -rf book/ && rustbook build text/ book/

too-many-lists's People

Contributors

gankra avatar jameslzhu avatar ericye16 avatar gkoz avatar locks avatar alisdair avatar kazagistar avatar paigeruten avatar akkartik avatar seeker14491 avatar wheals avatar stebalien avatar ahenry avatar

Watchers

James Cloos 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.