diff options
Diffstat (limited to 'src/build')
-rw-r--r-- | src/build/codegen.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/build/codegen.c b/src/build/codegen.c index f5231c0..391f572 100644 --- a/src/build/codegen.c +++ b/src/build/codegen.c @@ -183,6 +183,7 @@ static void onevhandler(const char *evname, const char *modname) { } usize taggedptr = (usize)modname; struct feature *f = skiplist_get_feature(&features, modname); + f->has_evhandlers = true; // hack: using unused pointer bit to determine whether a handler is tied to // a feature and thus conditional. relies on malloc alignment! if (f) taggedptr |= 1ull; |