Add native async logger adapter package

This commit is contained in:
Nanaloveyuki
2026-05-08 17:28:37 +08:00
parent 9a0d7abd8e
commit a99d2658f4
8 changed files with 371 additions and 10 deletions
+16
View File
@@ -0,0 +1,16 @@
import {
"Nanaloveyuki/BitLogger/bitlogger" @bitlogger,
"moonbitlang/async" @async,
"moonbitlang/async/aqueue" @aqueue,
"moonbitlang/core/env" @env,
"moonbitlang/core/ref",
}
supported_targets = "+native"
options(
targets: {
"async_logger_native.mbt": [ "native", "llvm" ],
"async_logger_stub.mbt": [ "js", "wasm", "wasm-gc" ],
},
)