Closed sethhall closed 1 month ago
If I run spicyc -x foo foo.spicy, it generates foo___linker__.cc with the following two lines in it....
spicyc -x foo foo.spicy
foo___linker__.cc
const char HILTI_EXPORT HILTI_WEAK * __hlt_foo_hlto_library_version = R"({"debug":false,"hilti_version":11100,"magic":"v1"})"; const char HILTI_EXPORT HILTI_WEAK * __hlt_foo_hlto_bind_to_version = spicy_version_1_11_0();
Those lines need to be generated without the _foo so that the resulting .hlto file will load correctly
_foo
If I run
spicyc -x foo foo.spicy
, it generatesfoo___linker__.cc
with the following two lines in it....Those lines need to be generated without the
_foo
so that the resulting .hlto file will load correctly