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

Problew with build the compiler and LLVM #9

Open
peachkalemarsexpress opened this issue Mar 8, 2023 · 1 comment
Open

Problew with build the compiler and LLVM #9

peachkalemarsexpress opened this issue Mar 8, 2023 · 1 comment

Comments

@peachkalemarsexpress
Copy link

I use the guide and trying to adapt it for Windows OS, when I run the command python .\x.py build, I get thread 'main' panicked at 'shared linking to LLVM is not currently supported on x86_64-pc-windows-msvc', src\bootstrap\native.rs:162:13 .
Is there any way to do this on Windows?

@PatriceBlin
Copy link
Member

As of today, bootstrap (Rust 1.68.0) will still panic for any target/toolchain containing "Windows": see src/bootstrap/native.rs

rust-lang/rust@389b7ff

Maybe you can try to force llvm_link_shared to be false (in config.toml ?) but as we never tried, I'm not sure if this plugin would build

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