libsupport_zynq: make panic handler an optional feature

tcp-recv-fnmut
pca006132 2020-06-29 09:41:54 +08:00 committed by Gitea
parent dd288912af
commit 6195ad40c3
2 changed files with 4 additions and 0 deletions

View File

@ -8,6 +8,9 @@ edition = "2018"
[features]
target_zc706 = ["libboard_zynq/target_zc706"]
target_cora_z7_10 = ["libboard_zynq/target_cora_z7_10"]
panic_handler = []
default = ["panic_handler"]
[dependencies]
r0 = "1"

View File

@ -9,5 +9,6 @@ pub extern crate compiler_builtins;
pub mod boot;
mod abort;
#[cfg(feature = "panic_handler")]
mod panic;
pub mod ram;