bynk.adapter.include_outside
Error An adapter binding … includes [ … ] path is absolute or climbs out of the adapter's directory with ...
An included module is part of the adapter's own tree, and, for a dependency, of the tree the lock checksums. So each path is relative to the adapter's file and stays inside its directory: no absolute path, and no ... Move the module into the adapter's directory, or a subdirectory of it, and name it from there.
Example
adapter math { binding "./math.binding.ts" includes ["../shared.wasm"] // ✗ leaves the adapter's directory}
adapter math { binding "./math.binding.ts" includes ["./adder.wasm"] // ✓ inside it}In the Book
See also
- The grammar rule it governs:
binding_decl. - Every code in its category, Adapters, on the diagnostic index.
bynk explain bynk.adapter.include_outsideshows the same from the installed toolchain, without a network.