sun::moon_bundling::NativeArchiveEntry

sun::moon_bundling::NativeArchiveEntry

struct · Source (opens in a new tab)

struct sun::moon_bundling::NativeArchiveEntry

A native static library (.a) carried inside the bundle, so a moon that binds a C library brings that library's code with it.

Programs importing the bundle link (AOT) or load (JIT) these without naming -l flags. The archive's symbols are spelled $archiveSetHash$_symbol: the hash of all the archives its bundle listed together, taken from their bytes as the vendor shipped them (see computeArchiveSetHash). The same set carried by several bundles is one set of symbols; a set differing in any archive is another.

Public Fields

archiveSetHash

public · variable · Source (opens in a new tab)

std::string sun::moon_bundling::NativeArchiveEntry::archiveSetHash

No documentation comment.

name

public · variable · Source (opens in a new tab)

std::string sun::moon_bundling::NativeArchiveEntry::name

No documentation comment.

offset

public · variable · Source (opens in a new tab)

uint64_t sun::moon_bundling::NativeArchiveEntry::offset = 0

No documentation comment.

size

public · variable · Source (opens in a new tab)

uint64_t sun::moon_bundling::NativeArchiveEntry::size = 0

No documentation comment.