c2a_core/
c2a_core.rs

1#![cfg_attr(not(feature = "std"), no_std)]
2#![allow(non_upper_case_globals)]
3#![allow(non_camel_case_types)]
4#![allow(non_snake_case)]
5#![allow(dead_code)]
6#![allow(rustdoc::bare_urls)]
7#![doc = include_str!("README.md")]
8
9use core::*;
10include!(concat!(env!("OUT_DIR"), "/c2a_core_main.rs"));
11
12pub mod hal;
13pub mod library;
14pub mod system;
15
16#[cfg(feature = "export-src")]
17pub fn source_dir() -> std::path::PathBuf {
18    std::path::Path::new(env!("CARGO_MANIFEST_DIR")).to_path_buf()
19}