Closed astrangeguy closed 3 years ago
I have a workflow and build system that builds a lisp image without creating fasl's on the way (don't ask) and serapeum is not loadable from source.
The culprit is +lock-class+ in threads.lisp which is evaluated by the load-time-eval reader macro in the same file, while the symbol is still unbound.
+lock-class+
threads.lisp
I would propose to just inline the definition without the defconstant since the constant is not used elsewhere.
Sounds reasonable. If you want to make a PR I'll merge it.
I have a workflow and build system that builds a lisp image without creating fasl's on the way (don't ask) and serapeum is not loadable from source.
The culprit is
+lock-class+
inthreads.lisp
which is evaluated by the load-time-eval reader macro in the same file, while the symbol is still unbound.I would propose to just inline the definition without the defconstant since the constant is not used elsewhere.