Files
bun.sh/test/v8/bad-modules/mismatched_abi_version.cpp
190n 172aecb02e [publish images] Upgrade self-reported Node.js version from 22.6.0 to 24.3.0 (v2) (#20772)
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com>
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com>
Co-authored-by: Meghan Denny <meghan@bun.sh>
Co-authored-by: Ashcon Partovi <ashcon@partovi.net>
Co-authored-by: pfg <pfg@pfg.pw>
Co-authored-by: pfgithub <6010774+pfgithub@users.noreply.github.com>
Co-authored-by: Ciro Spaciari <ciro.spaciari@gmail.com>
Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
2025-07-02 12:06:08 -07:00

27 lines
792 B
C++

#include <node.h>
void init(v8::Local<v8::Object> exports, v8::Local<v8::Value> module,
void *priv) {
// this should not even get called
abort();
}
extern "C" {
static node::node_module _module = {
// bun expects 137 (Node.js 24.3.0)
42, // nm_version
0, // nm_flags
nullptr, // nm_dso_handle
"mismatched_abi_version.cpp", // nm_filename
init, // nm_register_func
nullptr, // nm_context_register_func
"mismatched_abi_version", // nm_modname
nullptr, // nm_priv
nullptr, // nm_link
};
NODE_C_CTOR(_register_mismatched_abi_version) {
node_module_register(&_module);
}
}