updating rust package documentation

This commit is contained in:
Luke Boswell 2022-11-03 20:00:06 +11:00
parent f0d6e418fa
commit f3bdb5f321
No known key found for this signature in database
GPG key ID: 0E908525B2C7BD68
98 changed files with 140 additions and 15 deletions

View file

@ -1,3 +1,8 @@
//! Surgical linker that links platforms to Roc applications. We created our own
//! linker for performance, since regular linkers add complexity that is not
//! needed for linking Roc apps. Because we want `roc` to manage the build
//! system and final linking of the executable, it is significantly less
//! practical to use a regular linker.
use memmap2::{Mmap, MmapMut};
use object::Object;
use roc_build::link::{rebuild_host, LinkType};