Skip to content

Commit eeb56af

Browse files
authored
added comment
1 parent 576b702 commit eeb56af

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

crates/roc_host/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ pub unsafe extern "C" fn roc_dealloc(c_ptr: *mut c_void, _alignment: u32) {
5757
heap.dealloc(c_ptr);
5858
return;
5959
}
60+
// !! If you make any changes to this function, you may also need to update roc_dealloc in
61+
// https://github.com/roc-lang/basic-webserver
6062
let heap = roc_sqlite::heap();
6163
if heap.in_range(c_ptr) {
6264
heap.dealloc(c_ptr);

0 commit comments

Comments
 (0)