misc bugfixes

This commit is contained in:
Barrett Ruth 2026-02-02 13:13:08 -05:00
parent 682b267019
commit c8f735617a
4 changed files with 38 additions and 1 deletions

View file

@ -194,6 +194,8 @@ function M.compile_problem(debug, on_complete)
return
end
require('cp.utils').ensure_dirs()
local binary = debug and state.get_debug_file() or state.get_binary_file()
local substitutions = { source = state.get_source_file(), binary = binary }