ezrosent / frawk

an efficient awk-like language
Apache License 2.0
1.24k stars 34 forks source link

Error while building related to clap::Arg #80

Open gluque opened 2 years ago

gluque commented 2 years ago

Hi there! I got this error while trying to build frawk with cargo:

no method named about found for struct clap::Arg in the current scope

The context of this error is shown below:

error[E0599]: no method named `about` found for struct `clap::Arg` in the current scope
   --> src/main.rs:320:15
    |
320 | ...   .about("the optimization level for the program. Positive levels determine the optimization level for LLVM. Level -1 forces bytecode...
    |        ^^^^^ method not found in `clap::Arg<'_>`

any idea about how to deal with it?

ghuls commented 2 years ago

https://github.com/ezrosent/frawk/pull/81 will fix it. (I assume you updated clap from 3.0.0-beta4 to 3.0.x.)

ezrosent commented 2 years ago

Thanks for reporting the issue! I believe this should be fixed with the new 0.4.5 version, which includes #81