cleanup hosted mode build and carve TLS target out

This commit is contained in:
bunnie 2022-08-20 00:47:28 +08:00
parent 950b0e909a
commit 25d1d0144a
2 changed files with 3 additions and 1 deletions

View file

@ -385,7 +385,8 @@ impl<'a> ShellCmdApi<'a> for NetCmd {
write!(ret, "Usage: image bunniefoo.com/bunnie/bunny.png").unwrap();
}
}
#[cfg(feature="tls")]
// only valid for hardware configs with TLS enabled
#[cfg(all(any(target_os = "none", target_os = "xous"),feature="tls"))]
"rt" => {
log::set_max_level(log::LevelFilter::Trace);
ring::xous_test::p256_elem_add_test();

View file

@ -458,6 +458,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
"--features", "pddbtest",
"--features", "ditherpunk",
"--features", "tracking-alloc",
"--features", "tls",
// "--features", "test-rekey",
]), false)?
}