mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
PR-URL: https://github.com/nodejs/node/pull/30467 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
21 lines
651 B
C++
21 lines
651 B
C++
// This file is part of the embedder test, which is intentionally built without
|
|
// NODE_WANT_INTERNALS, so we define it here manually.
|
|
#define NODE_WANT_INTERNALS 1
|
|
|
|
#include "node_native_module_env.h"
|
|
|
|
// This is supposed to be generated by tools/generate_code_cache.js
|
|
// The stub here is used when configure is run without `--code-cache-path`
|
|
|
|
namespace node {
|
|
namespace native_module {
|
|
|
|
const bool has_code_cache = false;
|
|
|
|
// The generated source code would insert <std::string, UnionString> pairs
|
|
// into NativeModuleLoader::instance.code_cache_.
|
|
void NativeModuleEnv::InitializeCodeCache() {}
|
|
|
|
} // namespace native_module
|
|
} // namespace node
|