Make vscode not give me an error with hyperspace-roll and the-purple-night

This commit is contained in:
Gwilym Kuiper 2022-10-11 22:25:56 +01:00
parent 588c762311
commit 522b54fd53
2 changed files with 6 additions and 0 deletions

View file

@ -9,6 +9,9 @@
// using the #[agb::entry] proc macro. Failing to do so will cause failure in linking
// which won't be a particularly clear error message.
#![no_main]
#![cfg_attr(test, feature(custom_test_frameworks))]
#![cfg_attr(test, reexport_test_harness_main = "test_main")]
#![cfg_attr(test, test_runner(agb::test_runner::test_runner))]
use agb::display::object::ObjectController;
use agb::display::tiled::{TiledMap, VRamManager};

View file

@ -1,5 +1,8 @@
#![no_std]
#![no_main]
#![cfg_attr(test, feature(custom_test_frameworks))]
#![cfg_attr(test, reexport_test_harness_main = "test_main")]
#![cfg_attr(test, test_runner(agb::test_runner::test_runner))]
extern crate alloc;