Sha256: 4116eceadb2d9916d4f5602712eacec647f185d4c53c723aced8de5fc471b14d

Contents?: true

Size: 675 Bytes

Versions: 22

Compression:

Stored size: 675 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 = unsafe { &__start__ } as *const u8 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

22 entries across 22 versions & 1 rubygems

Version Path
wasmtime-23.0.2 ./ext/cargo-vendor/backtrace-0.3.69/src/symbolize/gimli/libs_libnx.rs
wasmtime-22.0.0 ./ext/cargo-vendor/backtrace-0.3.69/src/symbolize/gimli/libs_libnx.rs
wasmtime-21.0.1 ./ext/cargo-vendor/backtrace-0.3.69/src/symbolize/gimli/libs_libnx.rs
wasmtime-20.0.2 ./ext/cargo-vendor/backtrace-0.3.69/src/symbolize/gimli/libs_libnx.rs
wasmtime-20.0.0 ./ext/cargo-vendor/backtrace-0.3.69/src/symbolize/gimli/libs_libnx.rs
wasmtime-18.0.3 ./ext/cargo-vendor/backtrace-0.3.69/src/symbolize/gimli/libs_libnx.rs
wasmtime-17.0.1 ./ext/cargo-vendor/backtrace-0.3.69/src/symbolize/gimli/libs_libnx.rs
wasmtime-17.0.0 ./ext/cargo-vendor/backtrace-0.3.69/src/symbolize/gimli/libs_libnx.rs
wasmtime-16.0.0 ./ext/cargo-vendor/backtrace-0.3.69/src/symbolize/gimli/libs_libnx.rs
wasmtime-15.0.1 ./ext/cargo-vendor/backtrace-0.3.69/src/symbolize/gimli/libs_libnx.rs
wasmtime-15.0.0 ./ext/cargo-vendor/backtrace-0.3.69/src/symbolize/gimli/libs_libnx.rs
wasmtime-14.0.4 ./ext/cargo-vendor/backtrace-0.3.69/src/symbolize/gimli/libs_libnx.rs
wasmtime-14.0.3 ./ext/cargo-vendor/backtrace-0.3.69/src/symbolize/gimli/libs_libnx.rs
wasmtime-14.0.1 ./ext/cargo-vendor/backtrace-0.3.69/src/symbolize/gimli/libs_libnx.rs
wasmtime-14.0.0 ./ext/cargo-vendor/backtrace-0.3.69/src/symbolize/gimli/libs_libnx.rs
wasmtime-13.0.0 ./ext/cargo-vendor/backtrace-0.3.69/src/symbolize/gimli/libs_libnx.rs
wasmtime-12.0.1 ./ext/cargo-vendor/backtrace-0.3.69/src/symbolize/gimli/libs_libnx.rs
wasmtime-12.0.0 ./ext/cargo-vendor/backtrace-0.3.69/src/symbolize/gimli/libs_libnx.rs
wasmtime-11.0.0 ./ext/cargo-vendor/backtrace-0.3.69/src/symbolize/gimli/libs_libnx.rs
wasmtime-10.0.1 ./ext/cargo-vendor/backtrace-0.3.68/src/symbolize/gimli/libs_libnx.rs