Re-exportsยง
use std::path::PathBuf;๐use crate::artifact_names::dynamic_lib_name;๐use crate::artifact_names::static_lib_name;๐use crate::external_deps::c_cxx_compiler::cc;๐use crate::external_deps::c_cxx_compiler::cxx;๐use crate::external_deps::llvm::llvm_ar;๐use crate::path_helpers::path;๐use crate::targets::is_darwin;๐use crate::targets::is_windows;๐use crate::targets::is_windows_msvc;๐
Functionsยง
- build_
native_ dynamic_ lib - Builds a dynamic lib. The filename is computed in a target-dependent manner, relying on
std::env::consts::DLL_PREFIXandstd::env::consts::DLL_EXTENSION. - build_
native_ static_ lib - Builds a static lib (
.libon Windows MSVC and.afor the rest) with the given name. Built from a C file. - build_
native_ static_ lib_ cxx - Builds a static lib (
.libon Windows MSVC and.afor the rest) with the given name. Built from a C++ file. - build_
native_ ๐static_ lib_ internal - build_
native_ static_ lib_ optimized - Builds an optimized static lib (
.libon Windows MSVC and.afor the rest) with the given name. Built from a C file.