mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
Finally fix build issues
I was facing a bunch of issues with the build system and dependencies. I fixed it by using the Cargo.lock from upstream/main. I also modified app-loader since as_slice_mut is now unsafe.
This commit is contained in:
parent
0a7a4fcfc1
commit
d99f40047c
2 changed files with 864 additions and 795 deletions
1657
Cargo.lock
generated
1657
Cargo.lock
generated
File diff suppressed because it is too large
Load diff
|
|
@ -88,7 +88,7 @@ impl AppLoader {
|
|||
|
||||
|
||||
let mut memory = xous::map_memory(None, None, len + if len & 0xFFF == 0 { 0 } else { 0x1000 - (len & 0xFFF) }, xous::MemoryFlags::R | xous::MemoryFlags::W).expect("Couldn't map memory");
|
||||
response.into_reader().read_exact(&mut memory.as_slice_mut()[..len]).expect("Couldn't read");
|
||||
response.into_reader().read_exact(&mut unsafe{ memory.as_slice_mut() }[..len]).expect("Couldn't read");
|
||||
|
||||
self.modals.update_progress(1).expect("Couldn't update progress");
|
||||
//////////////////////
|
||||
|
|
|
|||
Loading…
Reference in a new issue