mirror of
https://github.com/arnaucube/circom.git
synced 2026-02-06 18:56:40 +01:00
Assembly library started
This commit is contained in:
4
cli.js
4
cli.js
@@ -35,6 +35,7 @@ const argv = require("yargs")
|
||||
.alias("c", "csource")
|
||||
.alias("s", "sym")
|
||||
.alias("r", "r1cs")
|
||||
.alias("n", "newThreadTemplates")
|
||||
.help("h")
|
||||
.alias("h", "help")
|
||||
.option("verbose", {
|
||||
@@ -83,6 +84,9 @@ if (argv.r1cs) {
|
||||
if (argv.sym) {
|
||||
options.symWriteStream = fs.createWriteStream(symName);
|
||||
}
|
||||
if (argv.newThreadTemplates) {
|
||||
options.newThreadTemplates = new RegExp(argv.newThreadTemplates);
|
||||
}
|
||||
|
||||
compiler(fullFileName, options).then( () => {
|
||||
let cSourceDone = false;
|
||||
|
||||
Reference in New Issue
Block a user