rename "limitations" to "quirks", less negative

This commit is contained in:
Lokathor 2018-12-15 16:50:04 -07:00
parent 4c3782426d
commit 48fa643f8c
6 changed files with 17 additions and 14 deletions

View file

@ -1,10 +0,0 @@
# GBA Limitations
There's a lot of seemingly normal Rust code that you can't write when compiling
for the GBA.
I mean there's a lot of stuff that you _can_ write, but we don't wanna get
tripped up by assuming we can use something only to get stuck when it's missing.
We'll start the book by reviewing all the major things we don't have so that we
can avoid any surprises later.

View file

@ -0,0 +1,9 @@
# Quirks
The GBA supports a lot of totally normal Rust code exactly like you'd think.
However, it also is missing a lot of what you might expect, and sometimes we
have to do things in slightly weird ways.
We start the book by covering the quirks our code will have, just to avoid too
many surprises later.

View file

@ -89,6 +89,10 @@ the standard library types to be used "for free" once it was set up, or just a
custom allocator that's GBA specific if Rust's global allocator style isn't a custom allocator that's GBA specific if Rust's global allocator style isn't a
good fit for the GBA (I honestly haven't looked into it). good fit for the GBA (I honestly haven't looked into it).
## LLVM Intrinsics
TODO: explain that we'll occasionally have to provide some intrinsics.
## Bare Metal Panic ## Bare Metal Panic
TODO: expand this TODO: expand this

View file

@ -8,10 +8,10 @@
* [Hello, Magic](00-introduction/04-hello-magic.md) * [Hello, Magic](00-introduction/04-hello-magic.md)
* [Newtype](00-introduction/05-newtype.md) * [Newtype](00-introduction/05-newtype.md)
* [Help and Resources](00-introduction/06-help_and_resources.md) * [Help and Resources](00-introduction/06-help_and_resources.md)
* [Limitations](01-limitations/00-index.md) * [Quirks](01-quirks/00-index.md)
* [No Std](01-limitations/01-no_std.md) * [No Std](01-quirks/01-no_std.md)
* [Fixed Only](01-limitations/02-fixed_only.md) * [Fixed Only](01-quirks/02-fixed_only.md)
* [Volatile Destination](01-limitations/03-volatile_destination.md) * [Volatile Destination](01-quirks/03-volatile_destination.md)
* [Concepts](02-concepts/00-index.md) * [Concepts](02-concepts/00-index.md)
* [CPU](02-concepts/01-cpu.md) * [CPU](02-concepts/01-cpu.md)
* [BIOS](02-concepts/02-bios.md) * [BIOS](02-concepts/02-bios.md)