example-helloworld
example-helloworld copied to clipboard
Error building `npm run build:program-rust` on linux - cannot find function `is` in this scope
I can't get npm run build:program-rust
working and I can't figure what I'm doing wrong
I am running Pop OS latest AMD CPU Node v14.19.1 Rust Toolchain 1.59.0 ( I also tried newest versions)
not sure but maybe you should edit StderrLock (trait or enum) to include the is() function in its model (class like).
the other error handling suggestion by npm is to remove the need for StderrLock by removing it from the function declaration as a parameter check. (I guess this is not too recomended cause you will loose one of Rusts main features (memory safty) and Im almost sure this will produce some more other errors).