elf_loader 0.17.0

A no_std-friendly ELF loader and runtime linker for Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
use std::path::PathBuf;

use crate::fixture_build::FixtureBuild;

pub(crate) fn build() -> PathBuf {
    let build = FixtureBuild::c("tests/tls/fixtures", "tls");
    build.c_shared("module.c", "libtls.so", &[], |command| {
        command.arg("-Wl,-soname,libtls.so");
    })
}