Fix failing test due to invalid_runtime_symbol_definitions

https://github.com/rust-lang/rust/pull/158522 added a new
deny-by-default lint that rejects code that has the wrong definition for
well-known functions like malloc. However, this test is explicitly
trying to illustrate that, so it needs to reduce the lint level.
1 file changed
tree: 7606f0109bdefaaeb8eb65687deb9bdd64f484b3
  1. .github/
  2. src/
  3. .gitattributes
  4. .gitignore
  5. book.toml
  6. LICENSE-APACHE
  7. LICENSE-MIT
  8. README.md
  9. triagebot.toml
README.md

The Rust Edition Guide

This book explains the concept of “editions”, major new eras in Rust's development. You can read the book online.

License

The Rust Edition Guide is dual licensed under MIT/Apache2, just like Rust itself. See the LICENSE-* files in this repository for more details.

Building locally

You can also build the book and read it locally if you'd like.

Requirements

Building the book requires mdBook 0.5. To get it:

$ cargo install mdbook@^0.5

Building

The most straight-forward way to build and view the book locally is to use the following command:

$ mdbook serve --open

This builds the HTML version of the book, starts a webserver at http://localhost:3000, and opens your default web browser. It will also automatically rebuild the book whenever the source changes, and the page should automatically reload.

To run the tests:

$ mdbook test