You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
clone the rustc repo, copy the config.example.toml to config.toml, and change:
set debug to false
target from target.x86_64-unknown-linux-gnu to target.x86_64-pc-windows
uncomment llvm-config and set that to my installed llvm's llvm-config
change the channel from "dev" to "nightly"
python3 x.py build
The next thing I encounter is something like in this issue.
The author mentioned a possible workaround by crt-static=true and LLVM_USE_CRT sets to MT.
So I did that and set LLVM_USE_CRT_RELEASE to MT (also, LLVM is built under release) by adding -DLLVM_USE_CRT_RELEASE=MT, and build again.
I am currently trying to experiment with a llvm patch under windows, and needing a way to build rustc with that patched LLVM.
What I am tring is:
debug
to falsetarget.x86_64-unknown-linux-gnu
totarget.x86_64-pc-windows
llvm-config
and set that to my installed llvm'sllvm-config
python3 x.py build
The next thing I encounter is something like in this issue.
The author mentioned a possible workaround by
crt-static=true
andLLVM_USE_CRT
sets toMT
.So I did that and set
LLVM_USE_CRT_RELEASE
toMT
(also, LLVM is built under release) by adding-DLLVM_USE_CRT_RELEASE=MT
, and build again.Then I got this problem:
It says the file contains invalid .pdata base value.
The text was updated successfully, but these errors were encountered: