mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-08 04:56:43 +00:00
With Rust 1.76.0, we no longer support building with `#![no_std]` or `panic = "abort"`, both of which are required within the kernel. As a workaround, go back to building the kernel under `riscv32imac-unknown-none-elf`. Signed-off-by: Sean Cross <sean@xobs.io>
27 lines
675 B
Rust
27 lines
675 B
Rust
// SPDX-FileCopyrightText: 2020 Sean Cross <sean@xobs.io>
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
#[cfg(target_arch = "arm")]
|
|
mod arm;
|
|
#[cfg(target_arch = "arm")]
|
|
pub use crate::arch::arm::*;
|
|
|
|
#[cfg(any(windows, unix))]
|
|
mod hosted;
|
|
#[cfg(any(windows, unix))]
|
|
pub use hosted::*;
|
|
|
|
#[cfg(target_arch = "riscv32")]
|
|
mod riscv;
|
|
#[cfg(target_arch = "riscv32")]
|
|
pub use crate::arch::riscv::*;
|
|
|
|
#[cfg(all(target_arch = "riscv64", not(baremetal)))]
|
|
mod riscv;
|
|
#[cfg(all(target_arch = "riscv64", not(baremetal)))]
|
|
pub use riscv::*;
|
|
|
|
#[cfg(all(target_arch = "x86_64", not(any(windows, unix))))]
|
|
mod x86_64;
|
|
#[cfg(all(target_arch = "x86_64", not(any(windows, unix))))]
|
|
pub use x86_64::*;
|