diff options
context:
space:
mode:
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Keep the Lua-less build compiling
`cgit_abort_filters` unhooks the Lua write interposer under NO_LUA too, where neither the hook nor its state exists, so `make NO_LUA=1` and the default mode of `tools/release-build.sh` have not compiled since the die path learned to take stdout back from a filter. The suite now builds that variant into `build/nolua` and runs it, and a `lua:` filter in such a build is refused with a message naming the cause instead of an unknown filter type.
Diffstat (limited to 'README.txt')
-rw-r--r--README.txt5
1 file changed, 5 insertions, 0 deletions
diff --git a/README.txt b/README.txt
index 844b6d0..5582164 100644
--- a/README.txt
+++ b/README.txt
@@ -46,6 +46,11 @@ runtime, turn it off.
$ make NO_LUA=1
+A binary built this way still runs every exec: filter, but a filter named with
+the lua: prefix has no interpreter to run in, so it is refused with an error on
+every page until the setting is taken out of cgitrc. make test builds this
+variant as well, into build/nolua, and checks it the same way.
+
Setup
-----