C cannot call a wap function back: no…
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
Research direction
Run test/wap/test_c.sh to reproduce the failing callback test, then read lib/callbacks.wap where c_callback_fired is defined and trace where the wap emitter binds library functions. The owner note points at host-port/wap-emitter rather than typing, so follow how callbacks are emitted when C calls back into wap. Done means the callback test and the qsort case no longer report that the module exports no c_callback_fired.
Written by the indexing model from the issue text.
Description
Original title: C cannot call a wap function back: the program exports no c_callback_fired
test/wap/test_c.sh 'a function that gives nothing is called back through c_callback' (branch valueless-argument c2fad32) fails: 'C called a function back, but the module calling C exports no c_callback_fired'. lib/callbacks.wap defines c_callback_fired, but it is likely never emitted, since library functions are bound only when typing reaches them. The qsort line meets it too, past its set_field_i64 red. Owner: host-port / wap-emitter (not typing). Reported by wap-binding.
Added by wap-binding with todo add.
Board card: https://github.com/users/pannous/projects/10?pane=issue&itemId=315562722
- Dominant language
- WebIDL
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from pannous/wap
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
A program cannot read or write a file through an…Possibly taken @pannous claimed this today. Open
-
Difficulty 3/5 1-2 days Newbie friendliness 30/100
-
Difficulty 4/5 3-5 days Newbie friendliness 22/100
-
Difficulty 5/5 Over a week Newbie friendliness 12/100
Similar issues
-
clang:frontend clang:openmp crash
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
llvm/llvm-project#245442 · 1 comment ·
Maintainers usually reply within 1 day
-
module: exir
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
pytorch/executorch#25620 ·
Maintainers usually reply within 1 day
-
node:url: url.parse and url.resolve report name parse/resolve instead of Node's urlParse/urlResolveOpenarea:stdlib effort:S impact:low parity type:bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
rust-lang/miri#5673 · 3 comments ·
Maintainers usually reply within 1 day
-
bug needs triage transpiler
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
oven-sh/bun#49514 · 1 comment ·
Maintainers usually reply within 1 day