Skip to content
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

Bindgen CLI crash on Windows #1254

Closed
discosultan opened this issue Feb 14, 2018 · 2 comments
Closed

Bindgen CLI crash on Windows #1254

discosultan opened this issue Feb 14, 2018 · 2 comments

Comments

@discosultan
Copy link

System information

  • Windows 10 x64
  • clang version 5.0.1 (tags/RELEASE_501/final)
  • cargo 0.26.0-nightly (1d6dfea44 2018-01-26)
  • rustc 1.25.0-nightly (4d2d3fc5d 2018-02-13)

Bindgen Invocation

$ cargo install bindgen
$ bindgen --help

Actual Results

---------------------------
bindgen.exe - System Error
---------------------------
The code execution cannot proceed because std-450236f2d0755271.dll was not found.
---------------------------
@discosultan discosultan changed the title Bindgen crash on Windows Bindgen CLI crash on Windows Feb 14, 2018
@Dushistov
Copy link
Contributor

I suppose this is duplicate of #1248

@discosultan
Copy link
Author

I found my answer from #1248 by @retep998:

bindgen as a binary depends on internal rustc crates. Therefore you cannot run it directly, but instead must run it using rustup run and you must specify the same toolchain that you used to install it originally. If you ever update that toolchain then you must reinstall bindgen.

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

No branches or pull requests

2 participants