1 2 3 4 5 6 7 8 9 10 11 12 13
// Byte buffer copy operation module. // Backend-specific lowering for memcpy. // CPU reference kernel for `buffer.memcpy`. /// Copy `input` into a new byte buffer. #[must_use] pub fn memcpy(input: &[u8]) -> Vec<u8> { input.to_vec() }