google / google/wuffs

Using wuffs-c (not wuffs) is awkward

Open
#24 0 comments 4 reactions 0 assignees View on GitHub
Dominant language
C
Stars
4.8k
Forks
145
Avg merge
11h 48m
Merged PRs (30d)
1

Description

The `wuffs` command line tool is used when working on Wuffs-the-Library. The `wuffs-c` command line tool is (implicitly) part of that, but it can also be used on its own for other code written in Wuffs-the-Language, including code that doesn't live in this repository.

Doing that works... sort of. But it's not a great experience. The `hello-wuffs-c` example has to declare a placeholder `wuffs-base.c` file (as it can't rely on the generated `gen/c/wuffs-base.c` file), and the C driver program has to `#define WUFFS_CONFIG__MODULE__BASE`.

Both of these workarounds shouldn't be necessary.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.