]> git.kaiwu.me - quickjs.git/commitdiff
qjsc: added missing -fno-weakref
authorFabrice Bellard <fabrice@bellard.org>
Mon, 14 Apr 2025 13:05:02 +0000 (15:05 +0200)
committerFabrice Bellard <fabrice@bellard.org>
Mon, 14 Apr 2025 13:05:02 +0000 (15:05 +0200)
qjsc.c

diff --git a/qjsc.c b/qjsc.c
index 13e6fa59caa2d92ffe974a3ce44461337579a8d4..f9e1928a25f930ba2274216d8f67006211df60f8 100644 (file)
--- a/qjsc.c
+++ b/qjsc.c
@@ -76,6 +76,7 @@ static const FeatureEntry feature_list[] = {
     { "promise", "Promise" },
 #define FE_MODULE_LOADER 9
     { "module-loader", NULL },
+    { "weakref", "WeakRef" },
 };
 
 void namelist_add(namelist_t *lp, const char *name, const char *short_name,