CURRENT CODE
use std::env::{args, Args};
fn main() {
let target:Vec<String>=args().collect();
println!("{:?}",target[1]);
}
ERROR
warning: [email protected]: | ^
error: failed to run custom build command for `openssl-sys v0.6.7`
Caused by:
process didn't exit successfully: `/home/ty/RustroverProjects/IntelGather/target/debug/build/openssl-sys-e46abb59f1f2ef58/build-script-build` (exit status: 101)
--- stdout
CARGO.TOML
[package]
name = "IntelGather"
version = "0.1.0"
edition = "2021"
[dependencies]
request = "0.0.8"
tokio = "1.40.0"
so far tried restarting pc and vscode, using a different ide( rust rover), the program was compiling fine before but now same error everytime regardless of ide, also tried including the openssl package as a dependency still not working