diff options
author | Michael Smith <mikesmiffy128@gmail.com> | 2022-09-20 23:47:11 +0100 |
---|---|---|
committer | Michael Smith <mikesmiffy128@gmail.com> | 2022-09-20 23:47:11 +0100 |
commit | f6fb10a7d3bfb59a729ee4b7a9368632ab52077a (patch) | |
tree | 1dffa70064a98415a4d2a42ebed9303ef5fe3816 /src/build | |
parent | 090772553e2b16962462e45e8871bfc076f23b15 (diff) |
Fix dumb oversight in codegen
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; |