1
0
mirror of https://github.com/janet-lang/janet synced 2025-11-19 00:35:11 +00:00

Don't use CLOCK_MONOTONIC for pthread stuff.

Also fix marshalling functions without full
sourcemapping information, as well as thread/receive
ignoring bad messages. Instead, thread/receive will error
on bad messages.
This commit is contained in:
Calvin Rose
2020-07-03 19:54:58 -05:00
parent 617ec7f565
commit 3bb8f1ac8d
7 changed files with 43 additions and 17 deletions

View File

@@ -720,6 +720,9 @@ static JanetAssembleResult janet_asm1(JanetAssembler *parent, Janet source, int
janet_asm_error(&a, "invalid assembly");
}
/* Add final flags */
janet_def_addflags(def);
/* Finish everything and return funcdef */
janet_asm_deinit(&a);
result.error = NULL;