Struct openblas_build::LibInspect
source · [−]Expand description
Library inspection using binutils (nm
and objdump
) as external command
- Linked shared libraries using
objdump -p
external command. - Global “T” symbols in the text (code) section of library using
nm -g
external command.
Fields
libs: Vec<String>
symbols: Vec<String>
Implementations
sourceimpl LibInspect
impl LibInspect
sourcepub fn new<P: AsRef<Path>>(path: P) -> Result<Self, Error>
pub fn new<P: AsRef<Path>>(path: P) -> Result<Self, Error>
Inspect library file
Be sure that nm -g
and objdump -p
are executed in this function
pub fn has_cblas(&self) -> bool
pub fn has_lapack(&self) -> bool
pub fn has_lapacke(&self) -> bool
pub fn has_lib(&self, name: &str) -> bool
Trait Implementations
sourceimpl Clone for LibInspect
impl Clone for LibInspect
sourcefn clone(&self) -> LibInspect
fn clone(&self) -> LibInspect
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl RefUnwindSafe for LibInspect
impl Send for LibInspect
impl Sync for LibInspect
impl Unpin for LibInspect
impl UnwindSafe for LibInspect
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more