Error when adding the rust crate ncurses

I am trying to add the rust crate ncurses which is basically just the c++ ncurses but i get the following error.

link to my repl:
Thanks in advance.

add missing headers to replit.nix, using the dev output if available. Here, you could run in Shell:

sed -i 's/];/  pkgs.ncurses\
  &/' replit.nix

For the warning, you could add to Cargo.toml:

opt-level = 1
1 Like

Thank you so much!!! :smile:

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.