example-helloworld icon indicating copy to clipboard operation
example-helloworld copied to clipboard

Error building `npm run build:program-rust` on linux - cannot find function `is` in this scope

Open giogam opened this issue 2 years ago • 1 comments

I can't get npm run build:program-rust working and I can't figure what I'm doing wrong

image

I am running Pop OS latest AMD CPU Node v14.19.1 Rust Toolchain 1.59.0 ( I also tried newest versions)

giogam avatar Jul 05 '22 22:07 giogam

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).

itayLev1 avatar May 23 '23 08:05 itayLev1