Skip to content

Instantly share code, notes, and snippets.

@ian-p-cooke
Created August 5, 2018 15:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ian-p-cooke/d426d5fcf4df48dd5b875f9a2734c373 to your computer and use it in GitHub Desktop.
Save ian-p-cooke/d426d5fcf4df48dd5b875f9a2734c373 to your computer and use it in GitHub Desktop.
rustc loading codegen error
c:\msys64\home\ipc\rust>rustup toolchain link latest-stage2 build\x86_64-pc-windows-gnu\stage2
c:\msys64\home\ipc\rust>rustup default latest-stage2
info: default toolchain set to 'latest-stage2'
c:\msys64\home\ipc\rust>rustup which rustc
C:\Users\ipc\.rustup\toolchains\latest-stage2\bin\rustc.exe
c:\msys64\home\ipc\rust>rustc -vV
rustc 1.29.0-dev
binary: rustc
commit-hash: unknown
commit-date: unknown
host: x86_64-pc-windows-gnu
release: 1.29.0-dev
error: couldn't load codegen backend "C:\\msys64\\home\\ipc\\rust\\build\\x86_64-pc-windows-gnu\\stage2\\lib\\rustlib\\x86_64-pc-windows-gnu\\codegen-backends\\rustc_codegen_llvm-llvm.dll": "The specified module could not be found. (os error 126)"
c:\msys64\home\ipc\rust>C:\msys64\usr\local\bin\rustc -Vv
rustc 1.29.0-dev
binary: rustc
commit-hash: unknown
commit-date: unknown
host: x86_64-pc-windows-gnu
release: 1.29.0-dev
LLVM version: 7.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment