Skip to content

cargo-script hangs after building binary #67

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
yogesum opened this issue Dec 1, 2018 · 1 comment · May be fixed by #72
Open

cargo-script hangs after building binary #67

yogesum opened this issue Dec 1, 2018 · 1 comment · May be fixed by #72

Comments

@yogesum
Copy link

yogesum commented Dec 1, 2018

reqwest.rs

// cargo-deps: reqwest

extern crate reqwest;

fn main() {
    println!("{}", reqwest::get("https://www.rust-lang.org/en-US/").unwrap().text().unwrap());
}

Above file don't run on executing cargo script reqwest.rs. After build process it hangs and does not run binary.

command output

   Compiling reqwest v0.1.0 ($HOME/.cargo/script-cache/file-reqwest-e49a49733bde173c)
   Finished release [optimized] target(s) in 6.97s

   # get stuck here

in case of running with --build-only same happens.

@theduke
Copy link

theduke commented Dec 9, 2018

I have the same problem with the newest stable compiler.

@Hakuyume Hakuyume linked a pull request Jan 23, 2019 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants