bors[bot] 3aa39bcd9a Merge #501
501: Update to the 2018 edition of Rust r=phil-opp a=phil-opp

This updates the blog to use the upcoming [2018 edition](https://rust-lang-nursery.github.io/edition-guide/rust-2018/index.html) of Rust, which is currently in beta and already the default on nightly. It changes a few local import paths (now with a `crate::` prefix) and removes all `extern crate` definitions and `macro_use` attributes.

This PR changes a lot of code across all posts, so there might be some things in the posts that I forgot to update. Please let me know if you see anything! [Preview of the changes](https://rust-2018--blog-os.netlify.com/)

Fixes #499 
Fixes #500

Co-authored-by: Philipp Oppermann <dev@phil-opp.com>
2018-11-19 09:16:07 +00:00
2018-10-28 14:11:32 +01:00
2018-10-20 18:33:41 +02:00
2018-11-18 13:44:21 +01:00
2018-07-01 19:38:01 +02:00
2018-01-19 14:49:04 +01:00

Blog OS

Build Status Join the chat at https://gitter.im/phil-opp/blog_os

This repository contains the source code for the Writing an OS in Rust series at os.phil-opp.com.

Building

You need a nightly Rust compiler and the cargo-xbuild and bootimage tools. You can install the tools by executing the following command:

cargo install cargo-xbuild bootimage

Afterwards you can invoke bootimage build to produce a bootable disk image. Please file an issue if you run into any problems.

To run the image in QEMU, you can execute bootimage run. Note that you need to have QEMU installed.

Posts

The goal of this project is to provide step-by-step tutorials in individual blog posts. We currently have the following set of posts:

Bare Bones

Testing

Interrupts

First Edition Posts

The current version of the blog is already the second edition. The first edition is outdated and no longer maintained, but might still be useful. The posts of the first edition are:

Bare Bones

Memory Management

Exceptions

Additional Resources

License

The source code is dual-licensed under MIT or the Apache License (Version 2.0). This excludes the blog directory.

Description
Languages
HTML 96.5%
SCSS 1.5%
CSS 1.2%
JavaScript 0.4%
Python 0.2%