Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
abbiecnt committed Sep 3, 2024
1 parent 0e36603 commit 5ece98c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/program.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ impl Program {
/// Returns a slice containing the entire program.
#[inline]
pub fn as_slice(&self) -> &[u8] {
// SAFETY: todo!()
unsafe { from_raw_parts(self.base.as_ptr(), self.len) }
}

Expand Down

0 comments on commit 5ece98c

Please sign in to comment.