summaryrefslogtreecommitdiffhomepage
path: root/src/build
diff options
context:
space:
mode:
authorMichael Smith <mikesmiffy128@gmail.com>2022-09-20 23:47:11 +0100
committerMichael Smith <mikesmiffy128@gmail.com>2022-09-20 23:47:11 +0100
commitf6fb10a7d3bfb59a729ee4b7a9368632ab52077a (patch)
tree1dffa70064a98415a4d2a42ebed9303ef5fe3816 /src/build
parent090772553e2b16962462e45e8871bfc076f23b15 (diff)
Fix dumb oversight in codegen
Diffstat (limited to 'src/build')
-rw-r--r--src/build/codegen.c1
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;