Skip to content

Commit

Permalink
examples/rust: update to latest rust-sel4
Browse files Browse the repository at this point in the history
Fixed two issues I encountered when previously updating to the
latest rust-sel4 version.

There's still one remaining issue which prevents us from switching
to the mainline rust-sel4.

Signed-off-by: Ivan Velickovic <[email protected]>
  • Loading branch information
Ivan-Velickovic committed Aug 13, 2024
1 parent a7f9ba1 commit 327ecfd
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 26 deletions.
50 changes: 25 additions & 25 deletions examples/rust/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/rust/src/vmm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ impl Handler for VmmHandler {

fn fault(&mut self, id: Child, msg_info: MessageInfo) -> Result<Option<MessageInfo>, Self::Error> {
unsafe {
if fault_handle(0, msg_info) {
if fault_handle(id.index(), msg_info) {
Ok(Some(MessageInfo::new(0, 0)))
} else {
unreachable!()
Expand Down

0 comments on commit 327ecfd

Please sign in to comment.