Get basic Wasm runtime running

This commit is contained in:
Isaac Clayton
2022-07-07 15:11:51 +02:00
parent feae434684
commit 6768713de2
15 changed files with 329 additions and 29 deletions
-6
View File
@@ -1,5 +1,3 @@
print("initializing plugin...")
query = [[(
(attribute_item
(meta_item
@@ -10,13 +8,9 @@ query = [[(
)]]
function run_test(name)
print('running test `' .. name .. '`:')
local command = 'cargo test -- ' .. name
local openPop = assert(io.popen(command, 'r'))
local output = openPop:read('*all')
openPop:close()
print('done running test')
return output
end
print("done initializing plugin.")