Skip to main content

compute_syscall_entries

Function compute_syscall_entries 

Source
pub fn compute_syscall_entries<'a, T: AsRef<str>>(
    syscalls: &'a [T],
) -> Vec<(u32, &'a str)>
Expand description

Runtime helper for dynamic syscall lists Computes hashes and sorts entries, borrowing from the input

The caller must own the string data (e.g., Vec) and pass references. This function returns references to those owned strings.