Re-exportsยง
use std::fs;๐use std::io::BufWriter;๐use std::io::Write;๐use std::path::Path;๐use std::path::PathBuf;๐use rustc_abi::Endian;๐use rustc_crate_store::DllImport;๐use rustc_crate_store::DllImportSymbolType;๐use rustc_data_structures::base_n::CASE_INSENSITIVE;๐use rustc_data_structures::base_n::ToBaseN;๐use rustc_data_structures::fx::FxHashMap;๐use rustc_data_structures::fx::FxIndexMap;๐use rustc_data_structures::stable_hash::StableHasher;๐use rustc_hashes::Hash128;๐use rustc_session::Session;๐use rustc_span::Symbol;๐use rustc_structures::NativeLibKind;๐use rustc_target::spec::Arch;๐use crate::back::archive::ImportLibraryItem;๐use crate::back::link::ArchiveBuilderBuilder;๐use crate::diagnostics::ErrorCreatingImportLibrary;๐use crate::NativeLib;๐use crate::common;๐use crate::diagnostics;๐
Functionsยง
- collate_
raw_ ๐dylibs_ elf - Extract all symbols defined in raw-dylib libraries, collated by library name.
- collate_
raw_ ๐dylibs_ windows - Extract all symbols defined in raw-dylib libraries, collated by library name.
- create_
elf_ ๐raw_ dylib_ stub - Create an ELF .so stub file for raw-dylib. It exports all the provided symbols, but is otherwise empty.
- create_
raw_ ๐dylib_ dll_ import_ libs - create_
raw_ ๐dylib_ elf_ stub_ shared_ objects