Skip to content
This repository was archived by the owner on Jan 7, 2025. It is now read-only.

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

Open
giogam opened this issue Jul 5, 2022 · 1 comment

Comments

@giogam
Copy link

giogam commented Jul 5, 2022

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)

@itayLev1
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants