Skip to main content

Module raw_dylib

Module raw_dylib 

Source

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 ๐Ÿ”’