CI / test (push) Failing after 17s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DPL5hiNfjrw2edja7LiRLB
33 lines
1.2 KiB
Plaintext
33 lines
1.2 KiB
Plaintext
import {
|
|
"moonbitlang/core/builtin",
|
|
"moonbitlang/core/env" @env,
|
|
"moonbitlang/core/encoding/utf8" @utf8,
|
|
"moonbitlang/core/cmp" @cmp,
|
|
"chandra/desktop/compositor/sys" @sys,
|
|
"chandra/desktop/compositor/font" @font,
|
|
"chandra/desktop/compositor/renderer" @renderer,
|
|
"chandra/desktop/compositor/wasm" @wasm,
|
|
"chandra/desktop/compositor/kms" @kms,
|
|
"chandra/desktop/interface/chandra/desktop/types" @types,
|
|
"chandra/desktop/interface/chandra/desktop/theme" @theme,
|
|
"chandra/desktop/wasmhost/wt" @wt,
|
|
}
|
|
|
|
supported_targets = "-all+native"
|
|
|
|
pkgtype(kind: "executable")
|
|
|
|
// libwasmtime comes prebuilt (scripts/setup-toolchain.sh); scripts/build-wasmhost.sh puts it on
|
|
// the compiler's and linker's search paths, and links it statically. The DRM/KMS backend's system
|
|
// libraries are linked as usual; libseat may come from the pixi env (pixi.toml), so build/wasmhost
|
|
// looks for it there too (the rpath is relative to build/), not through LD_LIBRARY_PATH, which
|
|
// apps started by the compositor would inherit.
|
|
options(
|
|
"native-stub": [ "host_stub.c", "raster_stub.c" ],
|
|
link: {
|
|
"native": {
|
|
"cc-link-flags": "-l:libwasmtime.a -lpthread -ldl -lm -ldrm -linput -lseat -lxkbcommon -ludev -Wl,-rpath,$ORIGIN/../.pixi/envs/default/lib",
|
|
},
|
|
},
|
|
)
|