extism / d-sdk

Host SDK for the D Language

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Extism D SDK

D bindings to the Extism host SDK.

Development

  1. Ensure a D compiler is installed and available in your PATH.

    Note: The compiler's frontend must be at least version 2.102.

  2. Ensure the extism shared library is installed before running tests or examples:

    See Installing Extism documentation.

    extism lib install latest

    Note: The extism install command may require sudo.

Lint Sources

dub lint

Note: Until dlang/dub#2700 is fixed, ensure all non-D sources (e.g. intermediate *.d files in targets) are cleaned from the repo.

Run cargo clean to avoid seeing many invalid lint issues.

Running Tests

dub test

Examples

Hello World

dub run extism:hello

About

Host SDK for the D Language

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:D 99.7%Language:C 0.3%