#whats going on?

6 messages · Page 1 of 1 (latest)

turbid skiff
#

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

cerulean nimbus
#

I'm not familiar with how buildscripts building C work, but the fact the error points to src/openssl_shim.c is peculiar. Did you by any chance create that yourself, or is it part of the automatic build process?

turbid skiff
#

seems removing the reqwest cargo from toml fixed that, originally i had more there before it breaks and was using reqwest library fine but cut down the code after that