Skip to content

Commit 23b2d0b

Browse files
committed
Cleanup ariel OS todo
1 parent 77dce2e commit 23b2d0b

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

src/export.rs

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,8 @@ pub fn check_outcome<T: TestOutcome>(outcome: T) -> ! {
2424
}
2525
}
2626

27-
/*
28-
// TODO: Readd support for ariel os startup. Ariel OS is currently not published to crates.io
29-
#[cfg(feature = "ariel-os")]
30-
#[ariel_os::thread(autostart, stacksize = 16384)]
31-
fn embedded_test_thread() {
32-
// TODO: make stack size configurable
33-
unsafe { __embedded_test_entry() }
34-
}*/
35-
27+
// Ariel OS invokes the `__embedded_test_entry` function directly
28+
// Otherwise we export it as `main` function.
3629
#[cfg_attr(not(feature = "ariel-os"), export_name = "main")]
3730
pub unsafe extern "C" fn __embedded_test_entry() -> ! {
3831
ensure_linker_file_was_added_to_rustflags();

0 commit comments

Comments
 (0)