mirror of
https://github.com/janet-lang/janet
synced 2025-11-07 11:03:04 +00:00
Make the assembler optional during compilation.
This commit is contained in:
@@ -24,6 +24,9 @@
|
||||
#include <janet/janet.h>
|
||||
#include "util.h"
|
||||
|
||||
/* Conditionally compile this file */
|
||||
#ifdef JANET_ASSEMBLER
|
||||
|
||||
/* Definition for an instruction in the assembler */
|
||||
typedef struct JanetInstructionDef JanetInstructionDef;
|
||||
struct JanetInstructionDef {
|
||||
@@ -932,3 +935,5 @@ int janet_lib_asm(JanetArgs args) {
|
||||
janet_cfuns(env, NULL, cfuns);
|
||||
return 0;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user