Sha256: 8bd076a44460e89a25c2ebd287027de73de43ced2af3aef24ab7a2e21b6f2c90

Contents?: true

Size: 671 Bytes

Versions: 8

Compression:

Stored size: 671 Bytes

Contents

use super::{Library, LibrarySegment, Vec};

// DevkitA64 doesn't natively support debug info, but the build system will
// place debug info at the path `romfs:/debug_info.elf`.
pub(super) fn native_libraries() -> Vec<Library> {
    extern "C" {
        static __start__: u8;
    }

    let bias = core::ptr::addr_of!(__start__) as usize;

    let mut ret = Vec::new();
    let mut segments = Vec::new();
    segments.push(LibrarySegment {
        stated_virtual_memory_address: 0,
        len: usize::max_value() - bias,
    });

    let path = "romfs:/debug_info.elf";
    ret.push(Library {
        name: path.into(),
        segments,
        bias,
    });

    ret
}

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
wasmtime-29.0.0 ./ext/cargo-vendor/backtrace-0.3.74/src/symbolize/gimli/libs_libnx.rs
wasmtime-28.0.0 ./ext/cargo-vendor/backtrace-0.3.74/src/symbolize/gimli/libs_libnx.rs
wasmtime-27.0.0 ./ext/cargo-vendor/backtrace-0.3.74/src/symbolize/gimli/libs_libnx.rs
wasmtime-26.0.0 ./ext/cargo-vendor/backtrace-0.3.74/src/symbolize/gimli/libs_libnx.rs
wasmtime-25.0.2 ./ext/cargo-vendor/backtrace-0.3.73/src/symbolize/gimli/libs_libnx.rs
wasmtime-25.0.1 ./ext/cargo-vendor/backtrace-0.3.73/src/symbolize/gimli/libs_libnx.rs
wasmtime-25.0.0 ./ext/cargo-vendor/backtrace-0.3.73/src/symbolize/gimli/libs_libnx.rs
wasmtime-24.0.0 ./ext/cargo-vendor/backtrace-0.3.73/src/symbolize/gimli/libs_libnx.rs