Skip to content
Snippets Groups Projects
Commit 6f00d2a2 authored by Bryan Henry's avatar Bryan Henry Committed by CQ bot account: commit-bot@chromium.org
Browse files

[fuchsia-zircon] Create Rust wrappers for zx_debuglog_* syscalls

And use them in places where we make such syscalls directly with unsafe
Rust today. (Plus add in missing test coverage for logger that covers
the modified code.)

The zx_debuglog_read wrapper currently returns a plain Vec of bytes and
the caller needs to parse it according to the definition of
zx_log_record_t. In the future it ideally would return an already-parsed
Rust struct type, but there is some uncertainty around the existing
debuglog syscalls so this wasn't done yet.

Change-Id: Ibf3ddc6195a751dbacb6e0e9d24250370e8516e9
parent 7dc89d8b
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment