1
0
mirror of https://github.com/janet-lang/janet synced 2025-09-08 13:56:09 +00:00

Don't try for backwards compat with compiled modules - Address #1639

This guarantee is difficult to maintain and shouldn't be needed.
This commit is contained in:
Calvin Rose
2025-09-06 10:35:10 -05:00
parent 355c514f0e
commit 8e7b1e9ce0

View File

@@ -66,7 +66,7 @@ JanetModule janet_native(const char *name, const uint8_t **error) {
JanetBuildConfig modconf = getter();
JanetBuildConfig host = janet_config_current();
if (host.major != modconf.major ||
host.minor < modconf.minor ||
host.minor != modconf.minor ||
host.bits != modconf.bits) {
char errbuf[128];
snprintf(errbuf, sizeof(errbuf), "config mismatch - host %d.%.d.%d(%.4x) vs. module %d.%d.%d(%.4x)",