[][src]Function dart_sys::Dart_CreateAppAOTSnapshotAsBlobs

pub unsafe extern "C" fn Dart_CreateAppAOTSnapshotAsBlobs(
    vm_snapshot_data_buffer: *mut *mut u8,
    vm_snapshot_data_size: *mut isize,
    vm_snapshot_instructions_buffer: *mut *mut u8,
    vm_snapshot_instructions_size: *mut isize,
    isolate_snapshot_data_buffer: *mut *mut u8,
    isolate_snapshot_data_size: *mut isize,
    isolate_snapshot_instructions_buffer: *mut *mut u8,
    isolate_snapshot_instructions_size: *mut isize
) -> Dart_Handle

Same as Dart_CreateAppAOTSnapshotAsAssembly, except all the pieces are provided directly as bytes that the embedder can load with mmap. The instructions pieces must be loaded with read and execute permissions; the other pieces may be loaded as read-only.

This function has been DEPRECATED. Please use Dart_CreateAppAOTSnapshotAsELF or Dart_CreateAppAOTSnapshotAsAssembly instead. A portable ELF loader is available in the target //runtime/bin:elf_loader.