load-probe.dhover×5all
#!/usr/bin/env dub
/+ dub.sdl:
    name "android-research-load-probe"
    platforms "linux"
    dflags "-betterC"
    targetPath "build"
    buildType "checked" {
        buildOptions "optimize" "inline" "debugInfo"
    }
+/
/**
E3's dependency-free dlopen payload. Build as a shared library for Android;
the default host executable just tests the exported function.
See ../index.md#current-target-experiments.
*/
module 
(module) load_probe

E3's dependency-free dlopen payload. Build as a shared library for Android; the default host executable just tests the exported function. See ../index.md#current-target-experiments.

load_probe
;
/// A symbol to keep the shared-library payload nonempty. extern(C) export int
int load_probe.sparkles_load_probe() pure nothrow @nogc @safe

A symbol to keep the shared-library payload nonempty.

sparkles_load_probe
() @safe pure nothrow @nogc => 42;
version (
LoadProbeLibrary
LoadProbeLibrary
) {} else
extern(C) int
int load_probe.main() pure nothrow @nogc @safe
main
() @safe pure nothrow @nogc =>
int load_probe.sparkles_load_probe() pure nothrow @nogc @safe

A symbol to keep the shared-library payload nonempty.

sparkles_load_probe
() == 42 ? 0 : 1;