You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 6, 2019. It is now read-only.
After taking out the #[cfg(cfg_multitasking)] in src/util/mod.rs, queue.rs fails to compile.
➤ cargo test --lib
Compiling zinc v0.1.0 (file:///home/allen/repos/zinc)
src/util/queue.rs:9:5: 9:21 error: unresolved import `core::ty::Unsafe`. Could not find `ty` in `core`
src/util/queue.rs:9 use core::ty::Unsafe;
^~~~~~~~~~~~~~~~
src/util/queue.rs:12:5: 12:22 error: unresolved import `core::ptr::RawPtr`. There is no `RawPtr` in `core::ptr`
src/util/queue.rs:12 use core::ptr::RawPtr;
^~~~~~~~~~~~~~~~~
src/util/queue.rs:15:5: 15:40 error: unresolved import `hal::cortex_m3::sched::NoInterrupts`. Could not find `sched` in `hal::cortex_m3`
src/util/queue.rs:15 use hal::cortex_m3::sched::NoInterrupts;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error: aborting due to 3 previous errors
Could not compile `zinc`.
It just looks like code rot Is there any reason to keep that cfg around?
The text was updated successfully, but these errors were encountered:
Scheduler code needs a good refactoring that I did in a separate fork. Plan for it is to utilise POSIX signal() to test the userland scheduling code (which first needs to have zinc compilable for native).
After taking out the
#[cfg(cfg_multitasking)]
insrc/util/mod.rs
,queue.rs
fails to compile.It just looks like code rot Is there any reason to keep that
cfg
around?The text was updated successfully, but these errors were encountered: