Make cargo check work in the top directory

This commit is contained in:
2024-07-14 17:41:17 +02:00
parent f31e20c7ce
commit 04949c4abd
4 changed files with 8 additions and 5 deletions

View File

@ -1,9 +1,10 @@
//! Firmware for Tangentbord1, left half.
#![no_std]
// NOTE: the order of attributes matters here..
#![no_main]
#![cfg(target_os = "none")] // only try to compile this for embedded
#![no_std]
#![feature(type_alias_impl_trait)]
#![cfg(target_arch = "arm")]
extern crate alloc;
extern crate cortex_m_rt;