markused: fix for thread waiter usage#24580
Conversation
|
Connected to Huly®: V_0.6-22945 |
|
The The problem is that spawn does not use v code that the builder could use to detect dependencies. If modifying if table.gostmts > 0 {
all_fn_root_names << 'free'
}Using PS In |
Ideally, it should keep track of all of the used functionality, that the backends would then generate calls for, including free/malloc, so that compiling a .v file with the C backend, containing just |
|
I agree, that using |
If I recall correctly the fix in this PR will also inject free regardless, it also adds more noise to the table. The issue is that the spawn_and_go.v does not use actual v code for it to properly detect dependencies. Maybe an alternate version of |
Fix #24577