pub struct PackOptions {
pub target_dir: Option<PathBuf>,
pub verify_export: bool,
}Expand description
Options for build.
Fields§
§target_dir: Option<PathBuf>Where cargo puts its build.
None uses <plugin dir>/target, which is the directory a CI cache action
normally keeps — so the dependency builds are cached between releases.
verify_export: booldlopen the finished cdylib and look for the entry symbol.
Defaults to true. It only happens when the build target is the machine doing
the packing: a cross-compiled artifact cannot be loaded here, so that case is
skipped silently rather than reported as a failure.
Trait Implementations§
Source§impl Clone for PackOptions
impl Clone for PackOptions
Source§impl Debug for PackOptions
impl Debug for PackOptions
Auto Trait Implementations§
impl Freeze for PackOptions
impl RefUnwindSafe for PackOptions
impl Send for PackOptions
impl Sync for PackOptions
impl Unpin for PackOptions
impl UnsafeUnpin for PackOptions
impl UnwindSafe for PackOptions
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