We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 77dce2e commit 23b2d0bCopy full SHA for 23b2d0b
src/export.rs
@@ -24,15 +24,8 @@ pub fn check_outcome<T: TestOutcome>(outcome: T) -> ! {
24
}
25
26
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
-
+// Ariel OS invokes the `__embedded_test_entry` function directly
+// Otherwise we export it as `main` function.
36
#[cfg_attr(not(feature = "ariel-os"), export_name = "main")]
37
pub unsafe extern "C" fn __embedded_test_entry() -> ! {
38
ensure_linker_file_was_added_to_rustflags();
0 commit comments