pub struct LinkCode {
pub current_dir: PathBuf,
pub linker_path: PathBuf,
pub optimization_flag: String,
pub object_paths: Vec<PathBuf>,
pub output_path: PathBuf,
pub libwasmer_path: PathBuf,
}Expand description
Data used to run a linking command for generated artifacts.
Fields§
§current_dir: PathBufThe directory to operate in.
linker_path: PathBufPath to the linker used to run the linking command.
optimization_flag: StringString used as an optimization flag.
object_paths: Vec<PathBuf>Paths of objects to link.
output_path: PathBufPath to the output target.
libwasmer_path: PathBufPath to the static libwasmer library.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LinkCode
impl RefUnwindSafe for LinkCode
impl Send for LinkCode
impl Sync for LinkCode
impl Unpin for LinkCode
impl UnwindSafe for LinkCode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more