Skip to content

"make build-c" fails to build sample apps #381

Open
@squillace

Description

Description of the bug
make build-c
make -C examples/multi_capability-demo-clang/ clean
make[1]: Entering directory '/home/squillace/work/squillace/spiderlightning/examples/multi_capability-demo-clang'
rm -rf bindings/
mkdir bindings/
make[1]: Leaving directory '/home/squillace/work/squillace/spiderlightning/examples/multi_capability-demo-clang'
make -C examples/multi_capability-demo-clang/ bindings
make[1]: Entering directory '/home/squillace/work/squillace/spiderlightning/examples/multi_capability-demo-clang'
wit-bindgen c --import ../../wit/keyvalue.wit --out-dir bindings/
Error: expected an identifier or string, found '('
--> ../../wit/keyvalue.wit:4:19
|
4 | static open: func(name: string) -> expected<keyvalue, keyvalue-error>
| ^
make[1]: *** [Makefile:21: bindings] Error 1
make[1]: Leaving directory '/home/squillace/work/squillace/spiderlightning/examples/multi_capability-demo-clang'
make: *** [Makefile:158: build-c] Error 2

To Reproduce
make build-c

Additional context

Metadata

Assignees

No one assigned

    Labels

    🐛 bugSomething isn't working🚧 maintainer issueAn issue that is being tackled by maintainers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions