Skip to content

Commit

Permalink
add todo
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-fink committed Feb 26, 2024
1 parent 6838cd3 commit 61f7e6e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/runtime/src/instance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -923,6 +923,7 @@ impl Instance {
let src = self.validate_inbounds(src_mem.current_length(), src, len)?;
let dst = self.validate_inbounds(dst_mem.current_length(), dst, len)?;

// TODO(MF): add a cheri-enabled implementation of this if it impacts performance a lot.
// Bounds and casts are checked above, by this point we know that
// everything is safe.
unsafe {
Expand Down

0 comments on commit 61f7e6e

Please sign in to comment.