Commit graph

46 commits

Author SHA1 Message Date
Michael Mogenson d52d627113
Remove cargo-xbuild dev dependency (#95)
* Remove cargo-xbuild dev dependency

As of Rust nightly 2020-07-15, we can set the default build target
and build-std feature of cargo instead of relying on cargo-xbuild.

Since the thumbv4-non-agb target is the default for all cargo commands,
change the Rust snippets in Makefile.toml to cross-platform duckscript.

The only uglyness we're left with is running the unit tests. We want to
build and run the tests on the host archetecture. Create three platform
overrides for Mac, Windows, Linux and set flags to override the default
target triple and build-std option.

* remove uneeded attribute

From cargo: "the feature `cfg_target_vendor` has been stable since
1.33.0 and no longer requires an attribute to enable"
2021-01-12 14:41:51 -07:00
Lokathor 3b688b907c Get all the code lined up 2019-02-14 19:39:34 -07:00
Lokathor d43c66c0d9 new lib file 2019-02-13 01:47:25 -07:00
Lokathor b67bdc80a1 io registers lesson, +cargo fmt with lin length down to 100 2019-02-11 21:59:17 -07:00
Lokathor da6ce44345 shouldn't this be pub? 2019-02-09 14:35:48 -07:00
Lokathor 84a4b4b89b Explain this better because even I forgot 2019-02-09 12:50:00 -07:00
Lokathor fc642c064d Convert to using the recently split off voladdress lib 2019-02-05 00:47:06 -07:00
Lokathor ed7f830ad4 fix to work with latest nightly. 2019-01-12 21:06:38 -07:00
Lokathor 0fb9994131 IWRAM fix 2019-01-12 13:42:18 -07:00
Lokathor 8ff32b0304 Update bios module to just build on x86
the actual functions are all unimplemented!() but oh well
2019-01-02 22:43:52 -07:00
Lokathor 4217a2b795 add sound 2018-12-31 01:07:33 -07:00
Lokathor d62fbae4f0 more const! 2018-12-30 23:29:58 -07:00
Lokathor dfca52a079 newtype_enum, and other updates 2018-12-29 22:39:53 -07:00
Lokathor 4c7ec468d0 Modules and newtypes, joy! 2018-12-29 20:17:48 -07:00
Lokathor 6466a53475 Move to the phantom_fields! proc-macro 2018-12-29 00:06:08 -07:00
Lokathor e10491eb8c OAM module 2018-12-27 11:51:07 -07:00
Lokathor 72bbe412b6 clearer module organization 2018-12-26 23:13:10 -07:00
Lokathor d6a6301815 CLOSE to another release 2018-12-25 23:19:16 -07:00
Lokathor ce3ddd3bb0 Improving newtype 2018-12-25 16:45:10 -07:00
Lokathor ecc7ea940d palram 2018-12-25 14:45:51 -07:00
Lokathor 7d8c82ddbc mgba panic handler 100% safe, justrelease only tho 2018-12-23 15:52:42 -07:00
Lokathor 7ab96c35f2 light cycle is also 100% safe now 2018-12-23 15:10:14 -07:00
Lokathor 35ed03cb44 cleanup, hello world runs 100% safe now 2018-12-23 14:45:38 -07:00
Lokathor 4586d2d95f module organization 2018-12-20 18:08:54 -07:00
Lokathor 8ede9f524d begin IO Register classification, start with KEYINPUT 2018-12-20 16:15:23 -07:00
Lokathor fdf0eebb69 Drop the quickcheck usage
Some day we can split the software math into its own crate and do quickcheck there, until then the test code must be fully no_std because otherwise the examples won't build (sadly, dev-dependencies applies to both tests and examples)
2018-12-20 15:30:08 -07:00
Lokathor c3f62b1ab5 trying a commit but i think nightly is broked 2018-12-19 20:58:41 -07:00
Lokathor 4d27005150 fixed point stuff 2018-12-18 02:05:59 -07:00
Lokathor 58d739dd9e fixed point and stuff 2018-12-17 17:00:22 -07:00
Lokathor 779770a187 cleanup and cleanup designations 2018-12-16 20:55:53 -07:00
Lokathor 09b936262f more BIOS 2018-12-16 15:17:30 -07:00
Lokathor fd681b182e fix our math terms (thanks ubsan!) 2018-12-16 00:59:36 -07:00
Lokathor 9c547a62b1 new aims 2018-12-08 01:53:37 -07:00
Lokathor e4318df495 clippy stuff 2018-11-20 04:10:48 -07:00
Lokathor 241fb1746c edits, cleanups, and a goal for ch3 2018-11-17 17:14:42 -07:00
Lokathor 3a355db578 cargo-make Makefile.toml 2018-11-16 00:39:47 -07:00
Lokathor 8aa1bb0065 partial intrinsic work 2018-11-15 01:23:04 -07:00
Lokathor e962b893fc More cargo test friendly 2018-11-14 19:49:00 -07:00
Lokathor a4b6a4e8b2 Revert "Deploy rust-console/gba to github.com/rust-console/gba.git:master"
This reverts commit 2f1c243742.
2018-11-13 12:47:52 -07:00
DocsBot (from Travis CI) 2f1c243742 Deploy rust-console/gba to github.com/rust-console/gba.git:master 2018-11-13 19:43:53 +00:00
Lokathor db00e1e24d Remove trivial commented out code
no need to "keep it for later" when it's just an import
2018-11-11 00:30:13 -07:00
Lokathor 0b9d8e9b29 hello world chapter is complete 2018-11-10 23:39:26 -07:00
Lokathor 5a49cbc713 Display Control 2018-11-08 22:08:13 -07:00
Lokathor 4c99082b20 triggered an ICE 2018-11-08 20:33:47 -07:00
Lokathor e9b26f838b io register groundwork
the current goal is to get enough done that we can write a sensical looking hello world game, and then put a writeup of that into the book.
2018-11-07 23:43:22 -07:00
Lokathor dfb56c21b2 crate start 2018-11-07 21:21:17 -07:00