Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
correct error type when symbol is not found
  • Loading branch information
arihant2math committed Mar 24, 2025
commit ff55d52d5681c44fdf0ec41cb0ee26c14c11c33f
2 changes: 1 addition & 1 deletion vm/src/stdlib/ctypes/function.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ impl Function {
library
.get(terminated.as_bytes())
.map_err(|err| err.to_string())
.map_err(|err| vm.new_value_error(err))?
.map_err(|err| vm.new_attribute_error(err))?
};
let code_ptr = CodePtr(*pointer as *mut _);
let return_type = match ret_type {
Expand Down